- 16 Nov, 2015 3 commits
-
-
danicampora authored
-
Paul Sokolovsky authored
Underlyingly, uses standard POSIX poll() for portability.
-
Paul Sokolovsky authored
-
- 14 Nov, 2015 6 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
In new hardware API, these classes implement master modes of interfaces, and "mode" parameter is not accepted. Trying to implement new HW API in terms of older pyb module leaves variuos corner cases: In new HW API, I2C(1) means "I2C #1 in master mode" (? depends on interpretation), while in old API, it means "I2C #1, with no settings changes". For I2C class, it's easy to make mode optional, because that's last positional param, but for SPI, there's "baudrate" after it (which is inconsistent with I2C, which requires "baudrate" to be kwonly-arg).
-
Paul Sokolovsky authored
-
- 13 Nov, 2015 16 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Removes FFI dependency, instead uses builtin os module. Thus can work on systems where dynamic library loading is not available.
-
Paul Sokolovsky authored
Dependency of upip.
-
Paul Sokolovsky authored
Dependency of upip.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This also unbreaks "make minimal".
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
It's safer to define it where it's used, defining it for all source files may lead to hard to diagnose conflicts in corner cases.
-
Damien George authored
-
Damien George authored
MICROPY_PERSISTENT_CODE must be enabled, and then enabling MICROPY_PERSISTENT_CODE_LOAD/SAVE (either or both) will allow loading and/or saving of code (at the moment just bytecode) from/to a .mpy file.
-
Damien George authored
Main changes when MICROPY_PERSISTENT_CODE is enabled are: - qstrs are encoded as 2-byte fixed width in the bytecode - all pointers are removed from bytecode and put in const_table (this includes const objects and raw code pointers) Ultimately this option will enable persistence for not just bytecode but also native code.
-
Damien George authored
Contains just argument names at the moment but makes it easy to add arbitrary constants.
-
Damien George authored
-
Damien George authored
-
- 12 Nov, 2015 2 commits
-
-
Paul Sokolovsky authored
Less dependencies.
-
Paul Sokolovsky authored
-
- 11 Nov, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 10 Nov, 2015 4 commits
-
-
Dave Hylands authored
-
Paul Sokolovsky authored
This file contains various MicroPython-specific helper functions, so isn't good fit for lib/libc/.
-
stijn authored
This defaults to 'python' but can be now overridden if needed
-
omtinez authored
-
- 09 Nov, 2015 5 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This makes select.poll() interface fully compatible with CpYthon. Also, make their numeric values of these options compatible with Linux (and by extension, with iBCS2 standard, which jopefully means compatibility with other Unices too).
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 08 Nov, 2015 3 commits
-
-
Paul Sokolovsky authored
-
Alex March authored
Port specific settinigs defined in mpconfigport. FreeRTOS and semphr headers added to define SemaphoreHandle_t for the SYNC_T.
-
Alex March authored
Port specific settings defined in mpconfigport.
-