Gregory Nutt
d8e4cbcfd5
Merge remote-tracking branch 'spiriou/wlan_dev' into photon
2017-04-22 08:26:40 -06:00
Simon Piriou
22e5cec376
photon: add basic wlan scan function
2017-04-22 15:57:51 +02:00
Gregory Nutt
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
2017-04-21 16:33:14 -06:00
Simon Piriou
0434528732
photon: request firmware version and MAC address
2017-04-16 13:13:11 +02:00
Simon Piriou
d646bde1f8
photon: add sdpcm tx basic support
2017-04-16 11:28:08 +02:00
Simon Piriou
11d3db5c35
photon: add sdpcm + thread support for wlan
2017-04-15 11:39:13 +02:00
Simon Piriou
e5c4a28c3a
photon: wlan support
2017-04-05 21:55:21 +02:00
Simon Piriou
1f71c8ced8
bcm: update driver
2017-03-20 22:40:25 +01:00
Gregory Nutt
57a1360c84
Add option to enable wireless debug output.
2017-03-15 14:31:01 -06:00
Simon Piriou
bf9391a1fe
photon: porting wlan device
2017-03-14 21:13:36 +01:00
Simon Piriou
e10ce5ce51
Photon: add basic support for wlan chip
2017-03-12 16:57:59 +01:00
Gregory Nutt
399f306744
A few cosmetic changes
2017-03-11 08:58:42 -06:00
Gregory Nutt
04b2964eac
drivers/wireless/nrf24l01.c: Review last PR. Also got enthused and did major re-work to file to bring it closer to the NuttX coding style. Fixed a few compile time warnings.
2017-03-10 17:29:58 -06:00
Leif Jakob
5534e0c493
multiple fixes in nrf24l01 driver
...
- signal POLLIN if there is already data in the FIFO
- send ETIMEDOUT to userspace after 2 seconds if TX IRQ was not received
- handle FIFO overflow
- handle invalid pipes/empty FIFO
- multiple cosmetics (missing static, duplicate define, missing \n)
2017-03-10 23:21:49 +01:00
Gregory Nutt
f4bad1a280
stm32_gpiosetevent: GPIO IRQ logic no longer returns the xcpt_t oldhandler. This value is useless and dangerous after the recent changes to interrupt argument passing.
2017-03-02 16:34:37 -06:00
Gregory Nutt
ac6e552ff7
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:37:44 -06:00
Gregory Nutt
ded155c638
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:22:58 -06:00
Gregory Nutt
69c26cca50
Correct mimatched function prototype.
2017-02-27 12:24:34 -06:00
Gregory Nutt
7bd8da19b9
Missed some changes in the last commit.
2017-02-27 12:11:35 -06:00
Gregory Nutt
840c5935a3
Correct a typo from one of the preceding commits.
2017-02-27 11:58:20 -06:00
Gregory Nutt
a773f9412a
STMPE811 driver needs argument in interrupt handler
2017-02-27 11:41:48 -06:00
Gregory Nutt
4cd31be19d
Convert some serial drivers to use use irq_attach.
2017-02-27 08:55:21 -06:00
Mark Schulte
b3222bbc8a
irq_dispatch: Add argument pointer to irq_dispatch
...
Provide a user defined callback context for irq's, such that when
registering a callback users can provide a pointer that will get
passed back when the isr is called.
2017-02-27 06:27:56 -06:00
Gregory Nutt
08c001196b
drivers/: Remove all explicit use of 'hidden' macro _info. Code must never use this directly. Code must always use a debug macro such as info which is basic on _info but can be appropriately filtered.
2017-01-15 13:00:50 -06:00
Gregory Nutt
4fcbe8e410
drivers: Disable priority inheritance on all semaphores used for signaling
2016-11-03 11:00:47 -06:00
Sebastien Lorquet
3654b841bc
Move contactless drivers to their own directory
2016-08-31 13:08:58 +02:00
Gregory Nutt
caea59b340
SPI bit order: Add configuration setting to indicate if an architecture-specif SPI implementation does or does not support LSB bit order.
2016-08-08 12:21:20 -06:00
Gregory Nutt
6df28bc74e
Make bit-order SPI H/W feature configurable for better error detection
2016-08-08 11:54:13 -06:00
Gregory Nutt
21859af6d9
Add check of return value in drivers affected by last change: Report the error on a failure to set the bit order.
2016-08-08 08:40:37 -06:00
Gregory Nutt
7d4cb73bd6
STM32 and EFM32 SPI drivers adopted an incompatible conventions somewhere along the line. The set the number of bits to negative when calling SPI_SETBITS which had the magical side-effect of setting LSB first order of bit transmission. This is not only a hokey way to pass control information but is supported by no other SPI drivers.
...
This change three things: (1) It adds HWFEAT_LSBFIRST as a new H/W feature. (2) It changes the implementations of SPI_SETBITS in the STM32 and EFM32 derivers so that negated bit numbers are simply errors and it adds the SPI_HWFEATURES method that can set the LSB bit order, and (3) It changes all calls with negative number of bits from all drivers: The number of bits is now always positive and SPI_HWFEATUREs is called with HWFEAT_LSBFIRST to set the bit order.
2016-08-08 08:28:13 -06:00
Gregory Nutt
9965cbe428
drivers/: Review and correct some stylistic inconsistencies
2016-08-07 09:43:48 -06:00
Alan Carvalho de Assis
10a7698112
drivers/wireless/mfrc522.c: Fix memory free command
2016-08-07 07:34:01 -06:00
Alan Carvalho de Assis
bfac90f720
Add MFRC522 RFID ISO14443 and Mifare transceiver driver
2016-08-06 08:45:52 -06:00
Gregory Nutt
1660329d06
Rename up_rnginitialize to devrandom_register
2016-07-18 10:55:37 -06:00
Gregory Nutt
2a751068e6
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
2016-06-20 12:44:38 -06:00
Gregory Nutt
43eb04bb8f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
2016-06-20 11:59:15 -06:00
Gregory Nutt
2b445ddccc
Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces.
2016-06-20 08:57:08 -06:00
Gregory Nutt
0c8c7fecf0
Add _ to the beginning of all debug macros to avoid name collisions
2016-06-16 12:33:32 -06:00
Gregory Nutt
7d0950bb22
net/: Change some nerr() ERRORS to nwarn() WARNINGS. Anomolous network events are not errors.
2016-06-12 07:09:37 -06:00
Gregory Nutt
e18e2b351b
Need a info() macro mapping
2016-06-11 19:05:32 -06:00
Gregory Nutt
f12da847d8
drivers/wireless: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-11 19:03:57 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2
Rename *lldbg to *llerr
2016-06-11 14:55:27 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -06:00
Gregory Nutt
1f8212679c
NRF24L01: Fix backward calculation of relative frequency. Noted by Henry Zhang
2016-04-15 07:07:22 -06:00
Paul A. Patience
c62bb9beb1
Fix issues detected by cppcheck
2016-03-22 15:46:47 -04:00
Gregory Nutt
1c31e10397
NRF2410L: Add missing conditional logic in vtable initialization
2016-03-08 16:11:08 -06:00
Gregory Nutt
0970d43ab8
Cosmetic changes to comments
2016-02-28 07:48:16 -06:00
Gregory Nutt
d777110cbe
Eliminate a warning
2016-02-27 07:27:45 -06:00