Daniel Campora
7b19e99edd
lib: Update FatFs to R0.11.
...
There are lots of cosmetic changes, but this release brings a very
important bug fix:
- Fixed f_unlink() does not remove cluster chain of the file.
With R0.10c if you try to write a file that is too large to fit in the
free space of the drive, the operation fails, you delete the incomplete
file, and it seems to be erased, but the space is not really freed,
because any subsequent write operations fail because the drive is
"still" full. The only way to recover from this is by formatting the
drive. I can confirm that R0.11 fixes the problem.
2015-03-29 22:12:14 +01:00
Daniel Campora
1eba62cac9
cc3200: Remove unneeded SPI instruction in the simplelink driver.
...
Setting the word count before a SPI transaction is only needed when
using DMA.
2015-03-26 20:50:39 +01:00
Daniel Campora
1826036a83
cc3200: Increase main stack size to 2K.
...
Increasing it from 1K to 2K gives more freedom to the callback
handlers, before this, simply nesting a function call into a
printf would cause a stack overflow.
2015-03-26 20:50:38 +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
2d717ad97a
cc3200: Add callback support to the UART for RX interrupts.
2015-03-26 10:28:43 +01:00
Daniel Campora
e909e38871
cc3200: Remove superflous parameters from the SPI API.
2015-03-26 10:28:41 +01:00
Daniel Campora
7f41f650de
cc3200: Remove superflous params from the I2C API.
2015-03-25 16:56:14 +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
Daniel Campora
4729a212b1
cc3200: Rename the WiPy_SD to WiPy-SD.
2015-03-25 15:22:27 +01:00
Daniel Campora
684dba40f0
cc3200: Roll back to the previous telnet and ftp timeouts.
...
Unfortunately, these timeouts are the only realiable way (for now), to
be able to detect broken connections due to half-open sockets. Such a
thing occurs when getting out of the WiFi coverage area or when
disconnecting from the AP (sometimes the client doesn't send the
disconnect packet).
2015-03-25 15:22:21 +01:00
Daniel Campora
e15f8198bc
cc3200: Keep WLAN enabled during the soft reset.
2015-03-25 15:22:16 +01:00
Daniel Campora
9d3588f2be
cc3200: Remove the cc3200.xml file. Latest CCS already ships with it.
2015-03-25 15:22:11 +01:00
danicampora
104a867447
cc3200: Fix bug in telnet that caused the rx buffer to overflow.
2015-03-22 11:32:12 +01:00
danicampora
59f6831336
cc3200: Reduce soft reset time. WLAN is not reinit, just reenabled.
2015-03-21 11:31:29 +01:00
danicampora
77791b5633
cc3200: Improve usability and robustness of the servers.
2015-03-21 11:31:17 +01:00
danicampora
c1c23e2f6a
cc3200: Remove superfluous code in pybsleep.
2015-03-21 11:27:26 +01:00
danicampora
cd9bc14c8f
cc3200: Add SPI module.
...
Only MASTER mode is supported. Transfer width is configurable to
8, 16 or 32 bits.
2015-03-21 11:26:47 +01:00
danicampora
c45e641c1d
cc3200: Re-name pybsystick to mpsystick.
2015-03-21 11:21:45 +01:00
danicampora
f8ee88bbe0
cc3200: Move server methods from WLAN to the network module.
2015-03-19 17:08:25 +01:00
danicampora
0e96d1b3f1
cc3200: Add parameter to wlan_stop() for custom timeout values.
2015-03-18 21:55:08 +01:00
danicampora
f382f4442e
cc3200: Fixes and improvements to the SD card driver.
2015-03-18 21:55:02 +01:00
danicampora
963d7c7ee6
cc3200: Refactor I2C. Remove all references to SLAVE mode.
2015-03-18 21:54:41 +01:00
danicampora
d3912549a3
cc3200: Improve I2C timeout handling.
2015-03-18 21:54:30 +01:00
danicampora
005a7f4190
cc3200: Fix extint_enable behaviour when the callback is updated.
2015-03-17 13:26:09 +01:00
danicampora
181fe5016c
cc3200: Add RTC callback with wake-up from sleep capability.
2015-03-17 13:26:08 +01:00
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
fcf6db0695
cc3200: Register pybsd with the sleep module and use pin_config().
2015-03-17 13:26:06 +01:00
danicampora
98b8568362
cc3200: Assign GPIO10 and GPIO11 to the GPIO peripheral on start-up.
2015-03-17 13:26:05 +01:00
danicampora
ea43fa104e
cc3200: Remove unneeded functions and add pybsleep_remove() calls.
2015-03-17 13:26:03 +01:00
danicampora
78d7c45b69
cc3200: Disable all wake sources on start-up.
2015-03-16 00:42:16 +01:00
danicampora
ed20ac56f7
cc3200: Fix bug in RTC msec register access functions.
2015-03-16 00:42:15 +01:00
danicampora
5dd8ae6b9c
cc3200: Fix spaces aligment in LAUNCHXL/mpconfigboard.h
2015-03-16 00:42:13 +01:00
danicampora
0962358026
cc3200: Align SD card driver with new SDK release(1.1.0).
2015-03-16 00:42:13 +01:00
danicampora
1080802e8f
cc3200: Update socket event handler to align with new SDK(1.1.0) API.
2015-03-16 00:42:11 +01:00
danicampora
dc545d6512
cc3200: Do not reset the DTHE module before every SHA operation.
...
According to the new SDK (1.1.0) this is not needed, and it's best
not to do it, because this module is a shared resource.
2015-03-16 00:42:10 +01:00
danicampora
b2cb75efb7
cc3200: Remove double administration of callback objects.
2015-03-16 00:42:09 +01:00
danicampora
c292632b59
cc3200: Update simplelink SPI driver to SDK release version 1.1.0.
2015-03-16 00:42:06 +01:00
danicampora
0d0646d915
cc3200: Update HAL to SDK release version 1.1.0.
2015-03-16 00:42:05 +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
d432bcb9ac
cc3200: Prevent multiple memory allocations if sflash init fails.
2015-03-14 10:08:46 +01:00
danicampora
2ae17def52
cc3200: Clean up linker scripts and startup file.
2015-03-14 10:08:45 +01:00
danicampora
09721e2314
cc3200: Increase heartbeat period from 3 to 5 seconds.
2015-03-14 10:08:44 +01:00
danicampora
c7fabe1f3e
cc3200: Remove unneeded code from modwlan and optimize startup time.
...
These changes also help reduce the hibernate wake-up time to 1s.
2015-03-14 10:08:43 +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
d1ba8b7659
cc3200: Correct WiPy's pinout and the pin generation script.
2015-03-12 16:22:15 +01:00
danicampora
6ae9383f63
cc3200: Remove WLAN.getmode since it's superseded by WLAN.ifconfig.
2015-03-12 16:22:13 +01:00
danicampora
37337427c3
cc3200: Trigger a new network scan when WLAN.scan() is called.
2015-03-12 16:22:12 +01:00
danicampora
b761ed2103
cc3200: Register ADC and I2C with the sleep module.
2015-03-11 22:09:52 +01:00