- 22 Mar, 2015 2 commits
-
-
Damien George authored
This can get PYBv1.0 stop current down to around 290uA.
-
danicampora authored
-
- 21 Mar, 2015 7 commits
-
-
Damien George authored
Despite initial guess, this code factoring does not hamper performance. In fact it seems to improve speed by a little: running pystone(1.2) on pyboard (which gives a very stable result) this patch takes pystones from 1729.51 up to 1742.16. Also, pystones on x64 increase by around the same proportion (but it's much noisier). Taking a look at the generated machine code, stack usage with this patch is unchanged, and call is tail-optimised with all arguments in registers. Code size decreases by about 50 bytes on Thumb2 archs.
-
danicampora authored
-
danicampora authored
-
danicampora authored
-
danicampora authored
Only MASTER mode is supported. Transfer width is configurable to 8, 16 or 32 bits.
-
danicampora authored
-
Paul Sokolovsky authored
Without that, "import http.client" failed due to max recursion.
-
- 20 Mar, 2015 14 commits
-
-
Damien George authored
-
Dave Hylands authored
This also cleans up spurious interrupts which happen at timer initilaization time.
-
stijn authored
Disabled by default. Enabled on unix and stmhal ports.
-
Paul Sokolovsky authored
"Base" should rather refer to "base type"."Base object for attribute lookup" should rather be just "object". Also, a case of common subexpression elimination.
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
Addresses issue #1160.
-
Paul Sokolovsky authored
Mostly to have coverage of newly added code in map.c.
-
Paul Sokolovsky authored
Given that there's already support for "fixed table" maps, which are essentially ordered maps, the implementation of OrderedDict just extends "fixed table" maps by adding an "is ordered" flag and add/remove operations, and reuses 95% of objdict code, just making methods tolerant to both dict and OrderedDict. Some things are missing so far, like CPython-compatible repr and comparison. OrderedDict is Disabled by default; enabled on unix and stmhal ports.
-
Damien George authored
-
Damien George authored
-
- 19 Mar, 2015 5 commits
-
-
Paul Sokolovsky authored
-
danicampora authored
-
Damien George authored
To address issue #699.
-
Damien George authored
-
Damien George authored
-
- 18 Mar, 2015 6 commits
-
-
Paul Sokolovsky authored
Fixes for compiler warnings in pedantic mode.
-
Paul Sokolovsky authored
Includes static function fix and all the previous improvements and fixes by @dpgeorge.
-
danicampora authored
-
danicampora authored
-
danicampora authored
-
danicampora authored
-
- 17 Mar, 2015 6 commits
-
-
stijn authored
-
danicampora authored
-
danicampora authored
-
danicampora authored
This prevents duplication of objects in the sleep list. Also helps with reducing the code size by ~100 bytes.
-
danicampora authored
-
danicampora authored
-