- 20 Nov, 2015 4 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
Here we are assuming that a thumb2 port will have fatfs, which is only roughly true. We need a better way of enabling specific raw-code file readers.
-
Damien George authored
This can then be passed to mp_raw_code_save_file to save a .mpy file.
-
- 19 Nov, 2015 2 commits
-
-
Igor Gatis authored
-
Damien George authored
This change makes the code behave how it was supposed to work when first written. The avail_slot variable is set to the first free slot when looking for a key (which would come from deleting an entry). So it's more efficient (for subsequent lookups) to insert a new key into such a slot, rather than the very last slot that was searched.
-
- 18 Nov, 2015 7 commits
-
-
danicampora authored
-
danicampora authored
-
Chris Liechti authored
-
Jason Hildebrand authored
Also provide workarounds, link to other revelant sections, and fix some typos.
-
Gary Ashton-Jones authored
-
Noah authored
- The link establishment timeout is infinite by default - Fix typo in notes about the auth kwarg
-
Dave Hylands authored
-
- 17 Nov, 2015 4 commits
-
-
Damien George authored
It can change asynchronously.
-
Damien George authored
Will be included only when MICROPY_PY_MATH_SPECIAL_FUNCTIONS is enabled. Also covers cmath module (but only log10 is there at the moment).
-
Damien George authored
-
Damien George authored
Parameter lists can't be nested so there is no need to save the global state when compiling them.
-
- 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 14 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.
-