Damien George
eff359e114
py: Expose mp_obj_list_remove as a public function.
2015-02-21 14:47:02 +00:00
danicampora
59d14914cd
cc3200: Correct pybsd_config() params retrieval.
2015-02-21 14:26:38 +01:00
danicampora
c020109cfa
cc3200: Add SD module and disable SD card support for the LAUNCHXL.
2015-02-21 14:19:40 +01:00
danicampora
571e3f5804
cc3200: Add exit values to the shell scripts.
2015-02-21 14:19:36 +01:00
danicampora
a6862fc812
cc3200: Disable MICROPY_OPT_COMPUTED_GOTO.
...
Saves around 1.3K. At the same time re-enable MICROPY_PY_SYS_EXIT
since it doesn't take much space and might be useful for certain
scripts.
2015-02-21 14:19:32 +01:00
Damien George
4e3906d6b5
tests: Add tests for ure groups and named char classes.
...
Issue #1122 should now be fixed.
2015-02-21 10:39:41 +00:00
Damien George
d09a5b51c2
extmod: Pull in upstream changes to re1.5; fixes bug, adds named class.
2015-02-21 10:33:20 +00:00
Paul Sokolovsky
2e24034c3f
run-tests-exp.sh: Typo fix in comment.
2015-02-21 03:22:33 +02:00
danicampora
82fabf4e52
cc3200: Disable MICROPY_PY_SYS_EXIT and MICROPY_EMIT_INLINE_THUMB.
...
Disabling MICROPY_EMIT_INLINE_THUMB gives us back around 6K of
precious RAM.
2015-02-20 17:12:39 +01:00
danicampora
6b21c3fdd6
cc3200: Refactor UART and I2C object creation.
...
I2C objects can be freed by the GC and a __del__ method is provided
in order to de-init the peripheral prior to being garbage collected.
UART objects are now added to a local list and this list is now part
of the VM_STATE.
2015-02-20 16:41:55 +01:00
danicampora
7807da20ab
cc3200: Increase UART default read buffer size to 128 bytes.
2015-02-20 16:41:49 +01:00
danicampora
868fa82ea4
cc3200: Add ADC module.
2015-02-20 16:40:59 +01:00
danicampora
5d2344d009
cc3200: Change safe-boot pin to GPIO28.
2015-02-20 16:40:19 +01:00
danicampora
2b899b6708
cc3200: Remove asserts from sl_Stop() and reduce timeout to 250ms.
2015-02-20 16:40:15 +01:00
danicampora
6ff9a47255
cc3200: Move closed field in mod_network_socket_obj_t out of the union.
2015-02-20 16:40:10 +01:00
danicampora
e1dfc44178
cc3200: Disable FreeRTOS asserts. Optimize more files if BTYPE=debug.
2015-02-20 16:40:06 +01:00
Damien George
690458300b
extmod/modure: Make num_matches store actual number of matches.
2015-02-18 14:47:14 +00:00
Paul Sokolovsky
8c705233f3
py: Fix mp_obj_print() to work when Python streams are not used.
2015-02-17 00:32:18 +02:00
Paul Sokolovsky
1f91e92cc6
py: Revamp mp_obj_print() to use Python streams.
...
Most of printing infrastructure now uses streams, but mp_obj_print() used
libc's printf(), which led to weird buffering issues in output. So, switch
mp_obj_print() to streams too, even though it may make sense to move it to
a separate file, as it is purely a debugging function now.
2015-02-17 00:13:01 +02:00
Damien George
eff10f66a6
py: Implement bl/bx instructions for inline Thumb assembler.
2015-02-16 18:17:07 +00:00
Damien George
42495392da
py: Implement "it" instruction for inline Thumb assembler.
2015-02-16 17:46:49 +00:00
Damien George
3d7bf5d4b1
py: More robust checking in inline assembler compiler.
2015-02-16 17:46:28 +00:00
Damien George
b191038198
qemu-arm: Enable source line numbers, for easier debugging.
2015-02-16 17:45:34 +00:00
Paul Sokolovsky
ee831cafa9
tests: Add another testcase for relative imports.
2015-02-16 12:11:41 +02:00
Paul Sokolovsky
9e6c82960e
builtinimport: Revamp&refactor handling of relative imports.
...
Relative imports are based of a package, so we're currently at a module
within a package, we should get to package first.
Also, factor out path travsering operation, but this broke testing for
boundary errors with relative imports. TODO: reintroduce them, together
with proper tests.
2015-02-16 12:11:34 +02:00