Gregory Nutt
64ce7563f2
CC3000: Fix yet another typo in last two commitsgit diff I should not be doing this when I have the flugit diff
2014-12-18 16:27:46 -06:00
Gregory Nutt
49a22f1ccb
CC3000: Oops. Fix an error in the last commit
2014-12-18 07:39:55 -06:00
Gregory Nutt
2fe506d70c
CC3000 Fix: Data can be unaligned. When dereferences as an input ntosh(), a bad value is returned. Reported by Alan Carvalho de Assis
2014-12-18 07:18:00 -06:00
Gregory Nutt
e42f7b552f
This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches:
...
03/11: CC3000 driver was getting stuck at recv() when remote host closed connection and application tried to read data from remotely shutdown socket. This patch adds proper handling for remotely closed socket event.
07/11: Socket state initialization was done in 'register', while it should be initialized in 'open' and deinitialized in 'close'. Old way caused problems when device is closed, power-cycled and then reopened as old socket state was left enabled.
08/11: Select thread was getting stuck after 'close, power-cycle, reopen', since selectsem was not properly setup and cleaned up.
09/11 'maxFD' was not properly reset in select worker and not checked for before calling cc3000_select().
10/11: After wlan_stop()/cc3000_close(), irqsem was left with count '-1'. Therefore on next wlan_start()/cc3000_open(), initial value for irqsem was wrong. Additional repeated wlan_start()/wlan_stop() decreased irqsem value further. Obviously this causes driver not to function correctly and freeze.
Patch moves initialization and destruction of waitsem, irqsem and readysem to cc3000_open/cc3000_close.
All are: Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
2014-11-28 08:52:52 -06:00
Gregory Nutt
5f0343bed9
Use usleep instead of usdelay as CONFIG_BOARD_LOOPSPERMSEC might not be calibrated correctly and CC3000 is fine with longer wait.
...
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
2014-11-28 08:16:30 -06:00
Gregory Nutt
9ac09db800
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 13:46:14 -06:00
Gregory Nutt
d7d759f7a7
Update everything under nuttx/drivers to use the corrected syslog interfaces
2014-10-08 10:18:58 -06:00
Gregory Nutt
1780810d3d
Rename kmalloc to kmm_malloc for consistency
2014-08-31 17:26:36 -06:00
Gregory Nutt
54fa3b0b59
Rename kfree to kmm_free for consistency with other naming conventions
2014-08-31 17:04:02 -06:00
Gregory Nutt
9cd1ddada4
Rename kmemalign to kmm_memalign and krealloc to kmm_realooc for consistency with other naming
2014-08-31 15:27:37 -06:00
Gregory Nutt
2a509d560f
CC3000: Fix build when POLL is enabled. From Jussi Kivilinna.
2014-05-21 07:37:46 -06:00
Gregory Nutt
b584ecb967
CC3000: Fix a race condition in start-up of unsoliced_thread. From Jussi Kivilinna
2014-05-21 07:32:32 -06:00
Gregory Nutt
b2d26436de
Configuration has CC3000_SPI_MODE settings but source uses CONFIG_CC3000_SPIMODE. From Jussi Kivilinna
2014-05-21 07:20:09 -06:00
Gregory Nutt
a9d89b5442
Correct SPI mode for CC3000 is CPOL=0 CHPA=1. From Jussi Kivilinna
2014-05-21 07:17:46 -06:00
Gregory Nutt
972c4cbab5
Nucleo F401RE: Remove PX4 cruft that can in with the port
2014-04-22 12:18:08 -06:00
Gregory Nutt
3a1324741a
More trailing whilespace removal
2014-04-13 14:32:20 -06:00
Gregory Nutt
056aed1274
Make sure that there is one space between while and condition
2014-04-12 13:09:48 -06:00
Gregory Nutt
6092b5813a
Numerous updates to the CC3000 driver from David Sidrane
2014-02-18 14:16:51 -06:00
Gregory Nutt
91b002a043
Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced
2014-02-10 18:08:49 -06:00
Gregory Nutt
0d0c3e66fb
Updates to sparck configuration from David Sidrane
2013-11-01 11:40:19 -06:00
Gregory Nutt
890417a0f4
Missing files from last CC3000 driver update from David Sidrane
2013-10-31 09:00:05 -06:00
Gregory Nutt
85e90b0064
Updated CC3000 driver from David Sidrane
2013-10-30 14:37:13 -06:00
Gregory Nutt
6b8c1cc480
CC3000 driver updates from David Sidrane
2013-10-30 10:50:26 -06:00
Gregory Nutt
77c0c6c2d6
CC3000 driver updates from David Sidrane
2013-10-27 18:54:10 -06:00
Gregory Nutt
70a191159b
drivers/wireless/cc3000: CC3000 driver update from David Sidrane
2013-10-26 17:42:08 -06:00
Gregory Nutt
607acec781
CC3000 driver update from David Sidrane
2013-10-25 16:23:53 -06:00
Gregory Nutt
ba5e6669d0
CC3000 driver update from David Sidrane
2013-10-24 08:03:32 -06:00
Gregory Nutt
76764003a5
Add logic to enable DEBUG_NET if NET=n but WL_CC3000=y
2013-10-23 11:48:57 -06:00
Gregory Nutt
4cf9540563
CC3000 driver updates from David Sidrane
2013-10-23 09:07:32 -06:00
Gregory Nutt
6fda497bc1
Updated Spark/cc3000 files from David Sidrane
2013-10-18 17:14:58 -06:00
Gregory Nutt
8cd7eea7ad
CC3000 driver changes from David Sidrane
2013-10-16 13:18:53 -06:00
Gregory Nutt
4e44868f12
CC3000 driver changes from David Sidrane
2013-10-16 11:59:26 -06:00
Gregory Nutt
48a8364267
CC3000 driver changes from David Sidrane
2013-10-16 11:59:22 -06:00
Gregory Nutt
e555cfaa5b
Updated CC30000 example from David Sidrane
2013-10-16 07:29:25 -06:00
Gregory Nutt
ce6368793a
Some restructing of the CC3000 build
2013-09-04 16:40:57 -06:00
Gregory Nutt
64f1c78367
CC3000 driver updates from Alan Carvalho de Assis
2013-09-04 09:45:59 -06:00
Gregory Nutt
29d4748b1b
Initial cut of a driver for the TI CC3000 network module with support on the Freescale KL25Z board from Alan Carvalho de Assis
2013-09-03 14:59:48 -06:00