Paul Sokolovsky
f0dc0d50e3
objtype: mp_obj_class_lookup: Remove implausible condition.
...
We already have branch for lookup->is_type == true, so here it's guaranteed
to be false.
2015-03-16 13:41:57 +02:00
Paul Sokolovsky
2b67a40fdb
objtype: Clarify comment for mp_obj_class_lookup().
2015-03-16 13:36:58 +02:00
Paul Sokolovsky
66c11ec581
objtype: Clarify code by consistently using common subexpression.
2015-03-16 13:36:58 +02:00
Damien George
d4bd37a561
py: Fix printing of error message when parsing malformed integer.
2015-03-16 10:42:50 +00:00
danicampora
78d7c45b69
cc3200: Disable all wake sources on start-up.
2015-03-16 00:42:16 +01:00
danicampora
ed20ac56f7
cc3200: Fix bug in RTC msec register access functions.
2015-03-16 00:42:15 +01:00
danicampora
5dd8ae6b9c
cc3200: Fix spaces aligment in LAUNCHXL/mpconfigboard.h
2015-03-16 00:42:13 +01:00
danicampora
0962358026
cc3200: Align SD card driver with new SDK release(1.1.0).
2015-03-16 00:42:13 +01:00
danicampora
1080802e8f
cc3200: Update socket event handler to align with new SDK(1.1.0) API.
2015-03-16 00:42:11 +01:00
danicampora
dc545d6512
cc3200: Do not reset the DTHE module before every SHA operation.
...
According to the new SDK (1.1.0) this is not needed, and it's best
not to do it, because this module is a shared resource.
2015-03-16 00:42:10 +01:00
danicampora
b2cb75efb7
cc3200: Remove double administration of callback objects.
2015-03-16 00:42:09 +01:00
danicampora
2b8a718d73
drivers: Update CC3100 driver library to SDK release version 1.1.0.
2015-03-16 00:42:08 +01:00
danicampora
c292632b59
cc3200: Update simplelink SPI driver to SDK release version 1.1.0.
2015-03-16 00:42:06 +01:00
danicampora
0d0646d915
cc3200: Update HAL to SDK release version 1.1.0.
2015-03-16 00:42:05 +01:00
Damien George
dac79324b5
stmhal: Add rtc.wakeup method, to set wakeup timer.
...
This allows to wake from low-power modes at a regular interval.
This method is preliminary, pending testing and API overhaul.
2015-03-15 17:15:55 +00:00
Damien George
1ef26b35c1
py, extmod: Remove include of unnecessary system headers.
2015-03-14 23:11:25 +00:00
Damien George
836e46976f
py: In pfenv_vprintf, adjust type from mp_uint_t to unsigned int.
2015-03-14 23:09:57 +00:00
Damien George
f256cfef4f
tests: Add some more tests for complex numbers and ure module.
2015-03-14 22:56:02 +00:00
Damien George
fa1edff006
py: Remove unnecessary and unused sgn argument from pfenv_print_mp_int.
2015-03-14 22:32:40 +00:00
Damien George
6837d46c1d
py: Fix builtin abs so it works for bools and bignum.
2015-03-14 22:07:30 +00:00
Damien George
26a9975fba
tests: Add some more tests for bytes, bignum, string and ujson.
2015-03-14 21:20:58 +00:00
Damien George
0683c1ceef
tests: Don't try to verify amount of memory used in cmd_showbc test.
2015-03-14 17:38:41 +00:00
Damien George
703c009681
tests: Add cmdline test to test showbc code.
2015-03-14 14:06:20 +00:00
Damien George
42e0c59308
py: Add MICROPY_COMP_{DOUBLE,TRIPLE}_TUPLE_ASSIGN config options.
...
These allow to fine-tune the compiler to select whether it optimises
tuple assignments of the form a, b = c, d and a, b, c = d, e, f.
Sensible defaults are provided.
2015-03-14 13:11:35 +00:00
Damien George
a77ffe66b2
py: In compiler, put macro guard around potentially unused asm vars.
2015-03-14 12:59:31 +00:00