danicampora
6de1b39368
cc3200: Make peripheral objects static.
...
This prevents duplication of objects in the sleep list. Also helps
with reducing the code size by ~100 bytes.
2015-03-17 13:26:07 +01:00
danicampora
ea43fa104e
cc3200: Remove unneeded functions and add pybsleep_remove() calls.
2015-03-17 13:26:03 +01:00
danicampora
b761ed2103
cc3200: Register ADC and I2C with the sleep module.
2015-03-11 22:09:52 +01:00
danicampora
d226dd2f59
cc3200: Add preliminary low power deep sleep support.
2015-03-11 16:54:09 +01:00
danicampora
11aa6ba456
cc3200: Add WDT functionality as part of the pyb module.
...
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.
2015-02-25 11:37:29 +01: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
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
868fa82ea4
cc3200: Add ADC module.
2015-02-20 16:40:59 +01:00