- Mar 26, 2015
-
-
Daniel Campora authored
-
Paul Sokolovsky authored
Continuation of refactoring applied previously to objlist.
-
Daniel Campora authored
-
Daniel Campora authored
-
- Mar 25, 2015
-
-
Damien George authored
-
Damien George authored
This is intended to improve coverage of the test suite.
-
Damien George authored
It allowed such things as (a, b) += c.
-
Damien George authored
Saves around 30 bytes code on Thumb2 archs.
-
Damien George authored
-
Daniel Campora authored
-
Daniel Campora authored
This allows to properly initialize the system led and add it to the sleep module so that it can be restored when resuming from suspended mode.
-
Daniel Campora authored
-
Daniel Campora authored
Unfortunately, these timeouts are the only realiable way (for now), to be able to detect broken connections due to half-open sockets. Such a thing occurs when getting out of the WiFi coverage area or when disconnecting from the AP (sometimes the client doesn't send the disconnect packet).
-
Daniel Campora authored
-
Daniel Campora authored
-
Paul Sokolovsky authored
mp_obj_t internal representation doesn't have to be a pointer to object, it can be anything. There's also a support for back-conversion in the form of MP_OBJ_UNCAST. This is kind of optimization/status quo preserver to minimize patching the existing code and avoid doing potentially expensive MP_OBJ_CAST over and over. But then one may imagine implementations where MP_OBJ_UNCAST is very expensive. But such implementations are unlikely interesting in practice.
-
- Mar 24, 2015
-
-
Paul Sokolovsky authored
-
- Mar 23, 2015
-
-
Damien George authored
-
Paul Sokolovsky authored
This change is required to unbreak some CPython stdlib modules (as included into micropython-lib).
-
Paul Sokolovsky authored
-
- Mar 22, 2015
-
-
Damien George authored
The 2 removed from coverage build are: -Wredundant-decls and -Wstrict-prototypes.
-
Damien George authored
-
Paul Sokolovsky authored
-
Damien George authored
To have proper low power mode, need to configure all unused pins in input mode, so need to have them available.
-
Damien George authored
This can get PYBv1.0 stop current down to around 290uA.
-
danicampora authored
-
- Mar 21, 2015
-
-
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.
-
- Mar 20, 2015
-
-
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
-