- 02 Mar, 2015 4 commits
-
-
Damien George authored
Addresses issue #1143.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 01 Mar, 2015 5 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Addresses issue #1140.
-
- 28 Feb, 2015 5 commits
-
-
danicampora authored
-
Johan Hendriks authored
-
Damien George authored
Saves around 60 bytes code on Thumb2 archs.
-
Damien George authored
Saves 116 bytes for stmhal and 56 bytes for cc3200 port.
-
Damien George authored
Reduces code size by 72 bytes on Thumb2 archs.
-
- 27 Feb, 2015 8 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This is rarely used feature which takes enough code to implement, so is controlled by MICROPY_PY_ARRAY_SLICE_ASSIGN config setting, default off. But otherwise it may be useful, as allows to update arbitrary-sized data buffers in-place. Slice is yet to implement, and actually, slice assignment implemented in such a way that RHS of assignment should be array of the exact same item typecode as LHS. CPython has it more relaxed, where RHS can be any sequence of compatible types (e.g. it's possible to assign list of int's to a bytearray slice). Overall, when all "slice write" features are implemented, it may cost ~1KB of code.
-
Damien George authored
Saves about 250 code bytes for Thumb2 archs.
-
Damien George authored
This is so all memory requests go through the same interface.
-
Damien George authored
-
Damien George authored
-
Damien George authored
This makes exception traceback info self contained (ie doesn't rely on list object, which was a bit of a hack), reduces code size, and reduces RAM footprint of exception by eliminating the list object. Addresses part of issue #1126.
-
- 26 Feb, 2015 4 commits
-
-
Paul Sokolovsky authored
-
Damien George authored
Slightly smaller code, and does not need to use C stack to save temporaries.
-
danicampora authored
-
danicampora authored
Before, both mutexes and semaphores were used. Using only the latter and with a bit of cleanup to remove some code bloat, we save ~600 bytes of code.
-
- 25 Feb, 2015 7 commits
-
-
danicampora authored
This helps saving ~300 bytes. Thanks to dpgeorge.
-
danicampora authored
The safe boot pin, when pulled high during reset rolls back the firmware to the "factory" image and skips execution of 'boot.py' and 'main.py'. This is useful to recover from a crash condition. The system led is used mostly to signal errors.
-
danicampora authored
-
Paul Sokolovsky authored
-
Damien George authored
Addresses issue #1132.
-
danicampora authored
Also improve pybsd, and make it save it's pin configuration. This is a necessary step towards supporting the CC3200 low power deep sleep (LPDS) mode.
-
danicampora authored
-
- 24 Feb, 2015 6 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Reduces stmhal by about 300 bytes ROM.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Also, reword purpose to avoid impression that uPy supports just one microcontroller.
-
- 23 Feb, 2015 1 commit
-
-
Damien George authored
-