Damien George
5cbeacebdb
py: Make math special functions configurable and disabled by default.
...
The implementation of these functions is very large (order 4k) and they
are rarely used, so we don't enable them by default.
They are however enabled in stmhal and unix, since we have the room.
2015-02-22 14:48:18 +00:00
Damien George
9ab94c468c
lib/libm: Add implementations of erf, erfc, lgamma, tgamma.
2015-02-22 14:47:11 +00:00
Paul Sokolovsky
3527085587
pyb.UART.rst: Clean up note about stream protocol support.
2015-02-22 13:36:35 +02:00
Damien George
77fc276c08
stmhal: For UART, check that baudrate is within 5% of desired value.
...
Also includes documentation about minimum baudrate.
Addresses issue #1090 .
2015-02-22 00:26:49 +00:00
Paul Sokolovsky
e06cf89f04
py: Add few more special methods.
2015-02-22 01:21:08 +02:00
Damien George
3611c1de14
drivers/cc3100: Remove dependence on debug.h.
2015-02-21 22:04:07 +00:00
danicampora
92ea99a0fb
cc3200: Add support for connecting to WEP secured networks.
2015-02-21 22:27:54 +01:00
danicampora
18605b36dc
cc3200: Rename SD.config() to SD.config_pins().
2015-02-21 22:27:48 +01:00
danicampora
7102e51506
cc3200: Add UART __del__ method.
2015-02-21 22:27:44 +01:00
danicampora
a7208bcc43
cc3200: Remove sd paths from sys path when disabling the sd card.
2015-02-21 22:27:39 +01:00
danicampora
1cf82a9800
drivers/cc3100: Make wlan.c closer to TI original file.
2015-02-21 22:24:41 +01:00
Damien George
5ca1f5f9d9
cc3200: Get compiling with CC3100 driver from drivers/ directory.
2015-02-21 19:55:57 +00:00
Damien George
49c2ad4fb4
cc3200: Move CC3100 driver from cc3200/simplelink to drivers/cc3100.
...
This commit will not build, it exists just to track changes.
2015-02-21 19:52:07 +00:00
Damien George
36e2845e36
cc3200: Replace physical tabs with spaces.
...
Preparing this to move to drivers/ directory, want to make it as similar
to original code from TI as possible.
2015-02-21 19:48:34 +00:00
Damien George
4a23a01945
cc3200: Add explicit py/ path-prefix for py includes.
...
This is how it should be, so one knows exactly where the includes are
coming from.
2015-02-21 18:58:43 +00:00
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