Gregory Nutt
2244ed46bc
nuttx/drivers: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
2016-02-14 07:32:58 -06:00
Gregory Nutt
bf8120d51d
Fix some odd logic in CC3000 semaphore handling. Noted by Vladimir Komendantskiy
2016-02-10 09:50:28 -06:00
Gregory Nutt
564a1ce606
Cosmetic clean-up of comments
2016-01-24 08:21:55 -06:00
Gregory Nutt
7edf921c5e
Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law
2016-01-23 18:54:36 -06:00
Gregory Nutt
f6e49caba8
All SPI-based device drivers needs to call SPI_HWFEATURES() with zero in order to co-exist with drivers that use H/W features
2016-01-23 16:18:13 -06:00
Gregory Nutt
63301fe213
Cosmetic changes from review of last pull request
2016-01-17 14:52:11 -06:00
Janne Rosberg
fb1bf10a3d
add pn532 support
...
Signed-off-by: Janne Rosberg <janne.rosberg@offcode.fi>
2016-01-17 22:17:49 +02:00
Gregory Nutt
c955cdccd9
Move rivers/wireless/cc3000/security.c to crypto/aes.c; move include/nuttx/wireless/cc3000/security.h to include/nuttx/crypto/aes.h
2015-11-16 13:31:02 -06:00
Gregory Nutt
cdc646ae68
Another typo introduced in previous commit
2015-10-10 12:31:31 -06:00
Gregory Nutt
5f9c47a83f
drivers/wireless: Fixes to spacing and alignement
2015-10-10 11:51:32 -06:00
Gregory Nutt
863ded3584
Standardize the width of all comment boxes in C header files
2015-10-03 07:45:15 -06:00
Gregory Nutt
16b32bbadd
Standardize the width of all comment boxes in C files
2015-10-03 07:25:53 -06:00
Gregory Nutt
0f90500f72
Standardize the width of all comment boxes in header files
2015-10-02 17:48:24 -06:00
Gregory Nutt
5b51a9fcdd
Standardize the width of all comment boxes in C files
2015-10-02 17:43:18 -06:00
Pierre-noel Bouteville
8651e0f2ca
CC3300: Add const to pointers in arguments to wlan_connect; remove an unused function prototype
2015-09-09 16:34:37 -06:00
Gregory Nutt
afdb3c751a
Fix typos from a previous commit
2015-09-08 12:45:30 -06:00
Gregory Nutt
a7e43c7fdb
Eliminate some warnings
2015-09-08 09:20:18 -06:00
Gregory Nutt
48d7930631
CC3300: Eliminate some compile time warnings
2015-09-08 07:37:19 -06:00
Gregory Nutt
342f5fe33d
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:08:57 -06:00
Gregory Nutt
0476d8168a
More missing semicolons after DEBUGASSERT
2015-05-27 13:32:39 -06:00
Gregory Nutt
e4d2822af8
Make some file section headers more consistent with standard
2015-04-08 07:15:32 -06:00
Gregory Nutt
e2e7c791c1
Refreshed Spark Configurations
2015-02-28 15:44:58 -06:00
Gregory Nutt
d6704a1cd7
Suffer the consequences of moving struct timeval to its correct location
2015-02-15 15:18:35 -06:00
Gregory Nutt
f24520acbb
Backout use of named initializers. Not C99
2015-01-31 12:29:21 -06:00
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