aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-03stmhal: Fix typos in class documentation.Damien George
2014-05-03Merge pull request #551 from stinos/closed-fd-errPaul Sokolovsky
CPython compatibility: raise an error for operations on a closed file de...
2014-05-03stmhal: Fix bug where negative delay/udelay lead to huge delays.Damien George
A negative ms/us is now treated as a delay of 0 ms/us. This patch also improves the calibration of udelay.
2014-05-03Merge pull request #546 from stinos/relax-makeqstrdataDamien George
More relaxed parsing of preprocessed qstr header
2014-05-03stmhal: Remove #include <stdint.h> from mpconfigport.h.Damien George
Make include dependencies neater, and adheres to the coding convention that headers should not include headers.
2014-05-03Merge pull request #543 from lurch/patch-4Damien George
Make pyboard.enter_raw_repl more robust
2014-05-03CPython compatibility: raise an error for operations on a closed file descriptorstijn
In CPython any operations on a file that has been closed already reaises a ValueError with message "I/O operation on closed file"
2014-05-03stmhal: Add example use to RTC doc; add rtc.c to gendoc.py.Damien George
2014-05-03Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-05-03windows: alloca.h: Add comment, fix line endings.Paul Sokolovsky
2014-05-03stmhal: Add documentation for RTC class.Damien George
2014-05-03Merge pull request #552 from stinos/mingw-allocaPaul Sokolovsky
py: Use <alloca.h> for alloca()
2014-05-03Merge pull request #550 from stinos/mingw-openPaul Sokolovsky
mingw: Add 'open' as extra builtin
2014-05-03Merge pull request #553 from stinos/ignore-exePaul Sokolovsky
Ignore .exe files
2014-05-03objclosure, objcell: Print detailed representation if was requested.Paul Sokolovsky
Well, it is bound to "detailed error reporting", but that's closest what we have now without creating new entities.
2014-05-03mingw: Add 'open' as extra builtin and add define MICROPY_MOD_SYS_STDFILESstijn
This one was probable missed when creating mpconfigport.h, but the underlying code (file.c) gets compiled and works perfectly so no reason to omit it.
2014-05-03More relaxed parsing of preprocessed qstr headerstijn
The original parsing would error out on any C declarations that are not typedefs or extern variables. This limits what can go in mpconfig.h and mpconfigport.h, as they are included in qstr.h. For instance even a function declaration would be rejected and including system headers is a complete no-go. That seems too limiting for a global config header, so makeqstrdata now ignores everything that does not match a qstr definition.
2014-05-03Ignore .exe filesstijn
2014-05-03py: Use <alloca.h> for alloca()stijn
alloca() is declared in alloca.h which als happens to be included by stdlib.h. On mingw however it resides in malloc.h only. So if we include alloca.h directly, and add an alloca.h for mingw in it's port directory we can get rid of the mingw-specific define to include malloc.h and the other ports are happy as well.
2014-05-03Merge pull request #548 from dhylands/fix-pin-defnDamien George
Fix PB0 ADC typo.
2014-05-03Merge pull request #549 from cjbarnes18/autoflash_deviceDamien George
Add device ID to autoflash script.
2014-05-03Merge pull request #547 from cjbarnes18/pyboard_module_fixesDamien George
Fix pyboard.py tests.
2014-05-02Add device ID to autoflash script.Craig Barnes
2014-05-02Fix PB0 ADC typo.Dave Hylands
This also adds a bunch of slashes separating pin that have multiple functions.
2014-05-02Fix pyboard.py tests.Craig Barnes
2014-05-02unix-cpy: Put mpconfig.h before all other headers.Damien George
2014-05-02Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-05-02stmhal: Add documentation for DAC and Timer classes.Damien George
2014-05-02bare-arm, qemu-arm: Make "mpconfig.h" be first included, as other headers ↵Paul Sokolovsky
depend on it.
2014-05-02unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky
2014-05-02py, unix: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky
Specifically, nlr.h does.
2014-05-02objtype: Work around stupid strict aliasing check.Paul Sokolovsky
2014-05-02Add shell script to automatically build stmhal/ for all pyboards.Damien George
2014-05-02tests: Add testcases for catching user Exception subclasses.Paul Sokolovsky
2014-05-02objexcept: Support tracebacks for user Exception subclasses.Paul Sokolovsky
2014-05-02objtype: Rename mp_obj_class_t -> mp_obj_instance_t and move to local header.Paul Sokolovsky
TODO: Rename methods.
2014-05-02objtype: .print() Exception instances in adhoc way.Paul Sokolovsky
This is ugly, just as expected.
2014-05-01Merge pull request #542 from dhylands/fix-pinDamien George
Fix pin initialization when a mode argument is provided
2014-05-01Merge pull request #536 from lurch/patch-1Damien George
Add flashboard target to the stmhal Makefile to run dfu-util
2014-05-01Merge pull request #544 from lurch/fix-minmaxPaul Sokolovsky
Fix the builtin min() and max() functions (and add tests).
2014-05-01objfun: More debug logging.Paul Sokolovsky
2014-05-01objgenerator: Fix check for too few args passed to gen function.Paul Sokolovsky
2014-05-01objgenerator: .print(): Output real underlying function name.Paul Sokolovsky
2014-05-01Fix the builtin min() and max() functions (and add tests).Andrew Scheller
Fixes #539
2014-05-01Make pyboard.enter_raw_repl more robustAndrew Scheller
In case there's a program in the microcontroller's main.py running in an infinite loop
2014-05-01Fix pin initialization when a mode argument is providedDave Hylands
2014-05-01Add flashboard target to the stmhal Makefile to run dfu-utilAndrew Scheller
Which allows you to run "make -C stmhal flashboard" from the top-level directory. Also ties in nicely with my configurable BUILD directory from #506
2014-05-01py: Add tentative scheme for error messages configuration.Paul Sokolovsky
2014-05-01objfun: Add function name accessor and .print slot method.Paul Sokolovsky
2014-04-30Merge branch 'master' of github.com:micropython/micropythonDamien George