- 11 Mar, 2015 6 commits
-
-
danicampora authored
Supports suspend and hibernate modes. Waking is possible throug GPIO and WLAN. The mpcallback class is generic and can be reused by other classes.
-
danicampora authored
Also add another method to change the pin's interrupt mode on the fly.
-
danicampora authored
Such functions are never used after MicroPython has started, and they remain in RAM wasting space. Now they are placed in a special section named "boot" which sits just before the heap, allowing us to extend the effective heap area up to the new boot section. Right now, this gives us back ~1K, but in the future, more functions might end up in there as well.
-
danicampora authored
-
danicampora authored
-
danicampora authored
-
- 28 Feb, 2015 2 commits
-
-
danicampora authored
-
Johan Hendriks authored
-
- 26 Feb, 2015 2 commits
-
-
danicampora authored
-
danicampora authored
Before, both mutexes and semaphores were used. Using only the latter and with a bit of cleanup to remove some code bloat, we save ~600 bytes of code.
-
- 25 Feb, 2015 5 commits
-
-
danicampora authored
This helps saving ~300 bytes. Thanks to dpgeorge.
-
danicampora authored
The safe boot pin, when pulled high during reset rolls back the firmware to the "factory" image and skips execution of 'boot.py' and 'main.py'. This is useful to recover from a crash condition. The system led is used mostly to signal errors.
-
danicampora authored
-
danicampora authored
Also improve pybsd, and make it save it's pin configuration. This is a necessary step towards supporting the CC3200 low power deep sleep (LPDS) mode.
-
danicampora authored
-
- 23 Feb, 2015 3 commits
-
-
danicampora authored
These definitions help on making modwlan.c usable by other ports with the CC3100.
-
danicampora authored
-
danicampora authored
Also change other methods' names to make them consistent.
-
- 22 Feb, 2015 4 commits
-
-
danicampora authored
-
danicampora authored
-
danicampora authored
-
danicampora authored
Use the simplelink wrappers instead. This is one step further towards having a single module for the cc3200 and the cc3100.
-
- 21 Feb, 2015 13 commits
-
-
Damien George authored
-
danicampora authored
-
danicampora authored
-
danicampora authored
-
danicampora authored
-
Damien George authored
-
Damien George authored
This commit will not build, it exists just to track changes.
-
Damien George authored
Preparing this to move to drivers/ directory, want to make it as similar to original code from TI as possible.
-
Damien George authored
This is how it should be, so one knows exactly where the includes are coming from.
-
danicampora authored
-
danicampora authored
-
danicampora authored
-
danicampora authored
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.
-
- 20 Feb, 2015 5 commits
-
-
danicampora authored
Disabling MICROPY_EMIT_INLINE_THUMB gives us back around 6K of precious RAM.
-
danicampora authored
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.
-
danicampora authored
-
danicampora authored
-
danicampora authored
-