danicampora
2ae17def52
cc3200: Clean up linker scripts and startup file.
10 years ago
danicampora
09721e2314
cc3200: Increase heartbeat period from 3 to 5 seconds.
10 years ago
danicampora
c7fabe1f3e
cc3200: Remove unneeded code from modwlan and optimize startup time.
These changes also help reduce the hibernate wake-up time to 1s.
10 years ago
danicampora
04749e677f
cc3200: Allow separate selection of the power mode in Pin callbacks.
10 years ago
danicampora
10f7ef0832
cc3200: Keep WLAN enabled during suspend mode.
10 years ago
danicampora
d1ba8b7659
cc3200: Correct WiPy's pinout and the pin generation script.
10 years ago
danicampora
6ae9383f63
cc3200: Remove WLAN.getmode since it's superseded by WLAN.ifconfig.
10 years ago
danicampora
37337427c3
cc3200: Trigger a new network scan when WLAN.scan() is called.
10 years ago
danicampora
b761ed2103
cc3200: Register ADC and I2C with the sleep module.
10 years ago
danicampora
db0580d0a5
cc3200: Reduce stack sizes of simplelink and the servers.
10 years ago
danicampora
e9786f40f5
cc3200: Disable WLAN in suspended mode if NW wake is not enabled.
10 years ago
danicampora
8cbbaa052a
cc3200: Add WiPy and WiPy_SD board support.
10 years ago
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.
10 years ago
danicampora
73aee8da54
cc3200: Merge ExtInt class into Pin class.
Also add another method to change the pin's interrupt mode
on the fly.
10 years ago
danicampora
26cbc91373
cc3200: Place functions only used while booting in a special section.
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.
10 years ago
danicampora
02fda44a30
cc3200: Combine and disable sections in startup_gcc.c to reduce size.
10 years ago
danicampora
d226dd2f59
cc3200: Add preliminary low power deep sleep support.
10 years ago
danicampora
0475de1350
cc3200: Make WDT and HeartBeat constant objects on their own right.
10 years ago
danicampora
d01060241a
cc3200: Add heartbeat signal on system led.
10 years ago
Johan Hendriks
6a41bf99bd
cc3200: Create separate release/debug build directories
10 years ago
danicampora
74589cbeeb
cc3200: Move code that disables/enables servers to wlan_sl_enable().
10 years ago
danicampora
5330d8996f
cc3200: Modify simplelink FreeRTOS OSI layer to only use semaphores.
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.
10 years ago
danicampora
f3661d4100
cc3200: Change PRCM_PeriphRegs_t fields to unsigned char.
This helps saving ~300 bytes. Thanks to dpgeorge.
10 years ago
danicampora
7a074a14ce
cc3200: Implement safe boot pin and system led behaviour.
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.
10 years ago
danicampora
8a5aee103d
cc3200: Fix md5 application signing, add missing accents.
10 years ago
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.
10 years ago
danicampora
fe2eb5f58a
cc3200: Update README.md to add step for flashing the bootloader.
10 years ago
danicampora
70b3160871
cc3200: Introduce MICROPY_PORT_HAS_TELNET and MICROPY_PORT_HAS_FTP.
These definitions help on making modwlan.c usable by other ports
with the CC3100.
10 years ago
danicampora
379a3fa305
cc3200: Change UART.print() to make it consistent with the rest.
10 years ago
danicampora
88b7f52ebb
cc3200: Replace WLAN.get_ip() with WLAN.ifconfig().
Also change other methods' names to make them consistent.
10 years ago
danicampora
44bb616b53
cc3200: Add simplelink non-os task calls.
10 years ago
danicampora
4bfc491753
cc3200: Add wlan_urn() thanks to Nadim El-Fata and Bryan Morrissey.
10 years ago
danicampora
0c11b167a7
cc3200: Add optimization flags to drivers/cc3100 in the debug build.
10 years ago
danicampora
33ddb566a7
cc3200: Remove dependencies from FreeRTOS.
Use the simplelink wrappers instead. This is one step further
towards having a single module for the cc3200 and the cc3100.
10 years ago
Damien George
3611c1de14
drivers/cc3100: Remove dependence on debug.h.
10 years ago
danicampora
92ea99a0fb
cc3200: Add support for connecting to WEP secured networks.
10 years ago
danicampora
18605b36dc
cc3200: Rename SD.config() to SD.config_pins().
10 years ago
danicampora
7102e51506
cc3200: Add UART __del__ method.
10 years ago
danicampora
a7208bcc43
cc3200: Remove sd paths from sys path when disabling the sd card.
10 years ago
Damien George
5ca1f5f9d9
cc3200: Get compiling with CC3100 driver from drivers/ directory.
10 years ago
Damien George
49c2ad4fb4
cc3200: Move CC3100 driver from cc3200/simplelink to drivers/cc3100.
This commit will not build, it exists just to track changes.
10 years ago
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.
10 years ago
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.
10 years ago
danicampora
59d14914cd
cc3200: Correct pybsd_config() params retrieval.
10 years ago
danicampora
c020109cfa
cc3200: Add SD module and disable SD card support for the LAUNCHXL.
10 years ago
danicampora
571e3f5804
cc3200: Add exit values to the shell scripts.
10 years ago
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.
10 years ago
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.
10 years ago
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.
10 years ago
danicampora
7807da20ab
cc3200: Increase UART default read buffer size to 128 bytes.
10 years ago