Daniel Campora
c92e6a45eb
cc3200: Rename pyb module to machine.
2015-09-27 16:50:27 +02:00
Daniel Campora
57fa14b5be
cc3200: New WLAN API including test.
2015-09-27 01:50:52 +02:00
Daniel Campora
dbdcb58d64
cc3200: New irq API, affects all classes that provide the irq method.
2015-09-27 01:48:20 +02:00
Daniel Campora
36821d095a
cc3200: Add alternate functions list to Pin object.
...
Also remove pin.high() and pin.low() methods.
2015-09-10 07:59:41 +02:00
Daniel Campora
598aad2140
cc3200: Fix bug in pybsleep remove.
2015-09-10 07:59:23 +02:00
Daniel Campora
e3f8777ee8
cc3200: Implement new Pin API.
2015-09-10 07:59:03 +02:00
Daniel Campora
641a3d39e1
cc3200: Make sure to update sleep objects when registered.
2015-08-16 20:18:02 +02:00
Daniel Campora
2673374d18
cc3200: Refactor PRCM special user bits implementation.
2015-08-09 22:15:18 +02:00
Daniel Campora
330e21c986
cc3200: Use the pull up/down resistors on the antenna selection pins.
2015-06-10 23:35:38 +02:00
Daniel Campora
371f4ba6b3
cc3200: Wrap antenna_init0() with #if MICROPY_HW_ANTENNA_DIVERSITY.
2015-06-08 10:38:19 +02:00
Daniel Campora
491c321720
cc3200: Re-config antenna selection when waking from suspended mode.
2015-06-07 13:28:47 +02:00
Daniel Campora
a3acaa000c
cc3200: Add antenna selection feature to WLAN.
2015-06-07 00:06:27 +02:00
Daniel Campora
417205623a
cc3200: Fix incorrect type for the wake cause variable.
2015-05-29 15:54:16 +02:00
Daniel Campora
3cb804de26
cc3200: Remove NIC abstraction layer.
...
That layer is nice, but the CC3200 doesn't need it and getting rid of
it saves ~200 bytes, which are more than welcome.
2015-05-24 11:44:08 +02:00
Daniel Campora
ed56b0baba
cc3200: Finally unlock the full wake on WLAN feature set.
2015-05-22 19:53:33 +02:00
Daniel Campora
f54bdecff2
cc3200: Implement Sleep.wake_reason()
2015-05-03 11:21:14 +02:00
Daniel Campora
d8713d78f5
cc3200: Correct Sleep module name. Must be 'Sleep', not 'sleep'.
2015-04-29 15:27:28 +02:00
Damien George
259eaab9a9
cc3200: Clean up and reduce use/include of std.h.
2015-04-18 14:29:28 +01:00
Daniel Campora
760a6eca9b
cc3200: Minor refactorings on modwlan and pybsleep.
2015-03-26 14:27:21 +01:00
Daniel Campora
4be44014ab
cc3200: Reenable active interrupts when waking from suspended mode.
2015-03-26 13:58:58 +01:00
Daniel Campora
26d230419c
cc3200: Add GPIO25 to the pins list of the WiPy and the WiPy-SD.
...
This allows to properly initialize the system led and add it
to the sleep module so that it can be restored when resuming
from suspended mode.
2015-03-25 15:22:32 +01:00
danicampora
59f6831336
cc3200: Reduce soft reset time. WLAN is not reinit, just reenabled.
2015-03-21 11:31:29 +01:00
danicampora
c1c23e2f6a
cc3200: Remove superfluous code in pybsleep.
2015-03-21 11:27:26 +01:00
danicampora
0e96d1b3f1
cc3200: Add parameter to wlan_stop() for custom timeout values.
2015-03-18 21:55:08 +01:00
danicampora
181fe5016c
cc3200: Add RTC callback with wake-up from sleep capability.
2015-03-17 13:26:08 +01:00
danicampora
78d7c45b69
cc3200: Disable all wake sources on start-up.
2015-03-16 00:42:16 +01:00
danicampora
2c103d5200
cc3200: Rewrite the PRCM RTC functionality methods.
...
This allows to use the On-Chip retention registers for both the
RTC and to share notification flags between the bootloader and the
application. The two flags being shared right now are the "safe boot"
request and the WDT reset cause. we still have 2 more bits free for
future use.
2015-03-14 10:08:47 +01:00
danicampora
04749e677f
cc3200: Allow separate selection of the power mode in Pin callbacks.
2015-03-12 16:22:17 +01:00
danicampora
10f7ef0832
cc3200: Keep WLAN enabled during suspend mode.
2015-03-12 16:22:16 +01:00
danicampora
e9786f40f5
cc3200: Disable WLAN in suspended mode if NW wake is not enabled.
2015-03-11 17:11:10 +01:00
danicampora
9e44383e3f
cc3200: Add power management framework. Add mpcallback class.
...
Supports suspend and hibernate modes. Waking is possible throug GPIO
and WLAN.
The mpcallback class is generic and can be reused by other classes.
2015-03-11 17:00:33 +01:00
danicampora
d226dd2f59
cc3200: Add preliminary low power deep sleep support.
2015-03-11 16:54:09 +01:00