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
309f0abc14
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-21 16:34:10 -06:00
Gregory Nutt
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
2017-04-21 16:33:14 -06:00
Anthony Merlino
b1c8f008d6
wireless/ieee802154: Simplifies TX completion interface. Documents and cleans up some functions
2017-04-21 14:57:27 -04:00
Anthony Merlino
795e70a952
wireless/ieee802154: Work on packet reception at radio layer (MRF24J40)
2017-04-21 13:06:26 -04:00
Gregory Nutt
d08b802998
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-20 16:19:42 -06:00
Gregory Nutt
356e71850b
IOB: A file needed to include iob.h
2017-04-20 16:18:57 -06:00
Gregory Nutt
bfb93338f6
Move net/iob to drivers/iob so that the I/O buffering feature can be available to other drivers when networking is disabled.
2017-04-20 16:08:49 -06:00
Gregory Nutt
e3c9e9e0b8
UART 16550: Missing left parenthesis in function prototype. This is Bitbucket Issue #41 .
2017-04-20 06:50:11 -06:00
Anthony Merlino
a5d73e42cd
wireless/ieee802154: Fixes radio callback arguments
2017-04-19 18:15:09 -04:00
Gregory Nutt
9a1fe0b971
ieee802154: Cosmetic changes from review of last PR.
2017-04-19 14:52:45 -06:00
Anthony Merlino
1abe4ae4da
wireless/ieee802154: Starts structuring transmission completion handling
2017-04-19 16:35:02 -04:00
Anthony Merlino
37e7c67373
wireless/ieee802154: Changes radio interface to match MAC callback design
2017-04-19 13:26:44 -04:00
Gregory Nutt
35756d6295
ieee802.15.4: Cosmetic changes from review of last PR.
2017-04-18 14:25:23 -06:00
Anthony Merlino
9ad3b375e5
wireless/ieee802154: Lots of small fixes to eliminate build issues.
...
Generally cleans things up and fixes lots of small issues preventing a successful build. Does not completely build, but there are significantly less errors
2017-04-18 15:34:28 -04:00
Gregory Nutt
52cddc45de
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-18 10:38:08 -06:00
Gregory Nutt
04ebdbb336
Move: CONFIG_ADC_NO_START_CONV from drivers/adc/Kconfig to arch/arm/src/stm32[f7]/Kconfig as STM32[F7]_ADC_NO_START_CONV. Refresh all configurations with any reference to CONFIG_ADC_NO_START_CONV.
2017-04-18 07:16:35 -06:00
Gregory Nutt
6d3ec6e4a4
ieee802.15.4: Changes from review of last PR
2017-04-17 09:53:58 -06:00
Anthony Merlino
46d7a4bb03
wireless/ieee802154: Continues development on transmit structure
2017-04-17 11:34:41 -04: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
Anthony Merlino
d9e2139e46
wireless/ieee802154/mrf24j40: Renaming, added bind method
2017-04-15 13:20:33 -04:00
Gregory Nutt
85d97a4d74
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-15 09:34:03 -06:00
Gregory Nutt
78bc1aa6bc
Argument of network device IOCTL should be unsigned long, just as will all other IOCTL methods.
2017-04-15 09:33:27 -06:00
Simon Piriou
11d3db5c35
photon: add sdpcm + thread support for wlan
2017-04-15 11:39:13 +02:00
Gregory Nutt
6b8a8bda35
ieee802.15.4 radio: Remove interface methods that duplicate IOCTL commands.
2017-04-13 11:14:02 -06:00
Gregory Nutt
63b24bc686
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-13 09:57:26 -06:00
Gregory Nutt
55c95442e1
drivers/net/skeleton.c: Add support for IOCTL handling.
2017-04-13 09:53:38 -06:00
Gregory Nutt
8288f53d4e
ieee802154 radio: Implement IOCTL decode and dispatch in all radio drivers.
2017-04-13 09:13:16 -06:00
Gregory Nutt
56c5970b5b
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-13 06:57:45 -06:00
Gregory Nutt
ad9321b7b7
Trivial changes from review of last PR
2017-04-13 06:16:03 -06:00
Thomas Keh
7e293b28ee
TUN driver: Implement TAP (OSI layer 2) mode.
...
Enable by setting the IFF_TAP flag instead of the IFF_TUN flag in ifr_flags.
2017-04-13 13:07:03 +02:00
Gregory Nutt
c3a9c7eda6
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-09 10:16:57 -06:00
Gregory Nutt
a1aca89d61
drivers/net/skeleton.c: Use more common 'Name:' vs. 'Function:'
2017-04-08 13:55:23 -06:00
Gregory Nutt
8b8ddd05c2
Fix some old-style interrupt handling logic in drivers/net/skeleton.c
2017-04-08 13:30:30 -06:00
Gregory Nutt
11ad71a2e6
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-06 10:01:02 -06:00
Jussi Kivilinna
e3b3e57e56
RTC: add interface for check if RTC time has been set
...
New interface allows checking if RTC time has been set. This allows to application to detect if RTC has valid time (after
reset) or should application attempt to get real time by other means (for example, by launching ntpclient or GPS).
2017-04-06 09:53:11 -06:00
Jussi Kivilinna
e2702cbe4e
STM32F7: fix UART7 and UART8 IFLOWCONTROL options
2017-04-06 08:46:24 -06:00
Simon Piriou
e5c4a28c3a
photon: wlan support
2017-04-05 21:55:21 +02:00
Gregory Nutt
cdd3cb2201
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-05 13:18:52 -06:00
Gregory Nutt
cb70ce7d3c
6loWPAN: Correct some IPv6 addresses and operations on IPv6 addresses.
2017-04-05 12:11:09 -06:00
Gregory Nutt
e7f9d14118
Merge branch 'master' of bitbucket.org:nuttx/nuttx into ieee802154
2017-04-04 14:29:00 -06:00
Juha Niskanen
d64d4e02b4
sensors: lis2dh: fix hardfault when reading from unconfigured sensor
2017-04-04 07:38:49 -06:00
Gregory Nutt
1b3cb3752a
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-03 08:12:04 -06:00
Juha Niskanen
dfe6a672c1
drivers/sensors: Add driver for ST LIS2DH accelerometer. From Timo Voutilainen <time.voutilainen@haltian.com> et al.
2017-04-03 07:28:22 -06:00
Gregory Nutt
6d55ef0a08
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-01 09:08:35 -06:00
Gregory Nutt
52ead055fd
6loWPAN: Beginning of IEEE802.15.4 frame input logic.
2017-04-01 09:07:49 -06:00
Gregory Nutt
a43c0c9efb
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-31 06:41:11 -06:00
Juha Niskanen
9d13a2463f
drivers/usbmisc: Add driver for Fairchild FUSB301 USB type-C controller.
...
From Harri Luhtala <harri.luhtala@haltian.com>. Tested with earlier
version of NuttX; with current version checked that it compiles.
2017-03-31 06:35:36 -06:00
Juha Niskanen
b5b148fef8
drivers/sensors: Add driver for ST LPS25H pressure sensor
2017-03-31 05:53:43 -06:00
Gregory Nutt
916bd8a48f
HTS221 driver: Modify to use new interrupt parameter passing hooks.
2017-03-31 05:31:35 -06:00
Gregory Nutt
916bd80f9f
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-30 16:30:43 -06:00
Juha Niskanen
9e2b3da3e8
drivers/sensors: Add driver for ST HTS221 humidity sensor
2017-03-30 12:17:23 -06:00
Jussi Kivilinna
dffb8a67e3
Add entropy pool and strong random number generator
...
Entropy pool gathers environmental noise from device drivers, user-space, etc., and returns good random numbers, suitable for cryptographic use. Based on entropy pool design from *BSDs and uses BLAKE2Xs algorithm for CSPRNG output.
Patch also adds /dev/urandom support for using entropy pool RNG and new 'getrandom' system call for getting randomness without file-descriptor usage (thus avoiding file-descriptor exhaustion attacks). The 'getrandom' interface is similar as 'getentropy' and 'getrandom' available on OpenBSD and Linux respectively.
2017-03-30 07:38:37 -06:00
Anthony Merlino
8f67ec30a7
wireless/ieee802154: Removes ieee802154.h and makes other minor changes
2017-03-29 12:39:52 -04:00
Gregory Nutt
0fec3f9541
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-28 15:02:54 -06:00
Martin Lederhilger
91f96b6ecb
drivers/analog: Add driver for the LTC1767L ADC.
2017-03-28 06:34:37 -06:00
Gregory Nutt
b0204909b2
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-27 18:16:19 -06:00
Gregory Nutt
6c4dac459a
lcd/: PCF8574 backpack logic needs to include poll.h CONFIG_DISABLE_POLL is not set.
2017-03-27 12:28:34 -06:00
Gregory Nutt
3fbf59e2bc
MRF24J40: Take advantage of new OS features for interrupt parameter passing.
2017-03-27 10:48:58 -06:00
Gregory Nutt
b315f0d851
AT86RF23x: Clean-up, standardize lower half interface. Take advantage of new OS features for interrupt parameter passing.
2017-03-27 10:28:03 -06:00
Gregory Nutt
a3304d206e
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-26 15:47:16 -06:00
Gregory Nutt
7d57a2b2bd
Trivial changes from review of last PR.
2017-03-25 10:38:41 -06:00
raiden00pl
be8207d493
drivers/analog: Add basic COMP driver
2017-03-25 16:50:11 +01:00
Gregory Nutt
e97a13ea90
MRF24J40/Clicker2: Add an MRF24J40 device configuration to the Clicker2 STM32 board. Fix a few errors discovered during build.
2017-03-24 13:49:40 -06:00
Anthony Merlino
7388816629
drivers/ieee802154: Moves defines to MAC layer and adjusts some addressing functionality
2017-03-24 11:10:35 -04:00
Gregory Nutt
0be851d339
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-22 14:26:20 -06:00
Masayuki Ishikawa
f50a075373
Merged in masayuki2009/nuttx.nuttx/lcd_aqm_1248a_support (pull request #287 )
...
drivers/lcd/st7565.c: Use ST7565_POWERCTRL_INT instead of ST7565_POWERCTRL_BRF
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-21 23:45:47 +00:00
Masayuki Ishikawa
e336d24898
drivers/lcd/st7565.c: Use ST7565_POWERCTRL_INT instead of ST7565_POWERCTRL_BRF
2017-03-22 08:21:22 +09:00
Masayuki Ishikawa
d4e7213ddc
Merged in masayuki2009/nuttx.nuttx/lcd_aqm_1248a_support (pull request #283 )
...
drivers/lcd/st7565.c: Extend to include support for the AQM_1248A
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-21 13:27:42 +00:00
Gregory Nutt
3872055daa
drivers/audio/wm8904: WM8904 has same problem as that fixed by Juha Niskanen in the MaxTouch driver.
2017-03-21 07:20:45 -06:00
Juha Niskanen
c3d9b86662
input/mxt: prevent overriding i2c transfer return value
...
put_reg/get_reg function was overriding i2c transfer error code with i2creset return value, that lead to OK status although actual transfer failed.
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
Reported-by: Harri Luhtala <harri.luhtala@haltian.com>
2017-03-21 07:12:07 -06:00
Masayuki Ishikawa
591f91ebd3
drivers/lcd/st7565.c: Extend to include support for the AQM_1248A
2017-03-21 15:30:23 +09:00
Simon Piriou
1f71c8ced8
bcm: update driver
2017-03-20 22:40:25 +01:00
Heesub Shin
a10735b50d
mtd/progmem: fix incorrect target address calculation
...
progmem_read/write() is incorrectly calculating the target address,
expecting the offset argument is given in a block number. This is
completely wrong and as a result invalid flash region is accessed.
Byte-oriented read/write interfaces of mtd device accept the
target address in a byte offset, not a block number.
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
2017-03-19 01:11:37 +09:00
Gregory Nutt
175f8960cf
Cosmetic changes from review of last PR
2017-03-18 06:47:34 -06:00
Brian Webb
0a95536b85
Adds driver support for the XBox One controller. Currently only the latest version (XBox One X) controller works. The older XBox One controllers do not enumerate correctly.
2017-03-17 20:48:21 -07:00
Gregory Nutt
25e4e3c314
Bring closer to NuttX coding standard.
2017-03-15 14:57:13 -06:00
Gregory Nutt
f985b52587
Integrate use of new wireless debug macros. Replace ad hoc debug macros. Convert obsolete dbg() macros to current info(), warn(), err() macros.
2017-03-15 14:37:17 -06:00
Gregory Nutt
15b2046748
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-15 14:32:05 -06:00
Gregory Nutt
57a1360c84
Add option to enable wireless debug output.
2017-03-15 14:31:01 -06:00
Gregory Nutt
fc6405d519
Bring closer to NuttX coding standard.
2017-03-15 14:16:19 -06:00
Simon Piriou
bf9391a1fe
photon: porting wlan device
2017-03-14 21:13:36 +01:00
Sebastien Lorquet
b5824d0993
Merge branch 'master' into ieee
2017-03-13 16:51:05 +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
Sebastien Lorquet
7e19f4014e
Merge branch 'master' into ieee
...
Conflicts (fixed):
drivers/wireless/ieee802154/mrf24j40.c
include/nuttx/fs/ioctl.h
2017-03-09 14:28:52 +01:00
Andreas Bihlmaier
c0769c9988
Merged in andreasBihlmaier/nuttx/fix-as5048b (pull request #255 )
...
fix as5048b by adding missing frequency parameter
Approved-by: Gregory Nutt
2017-03-09 12:57:47 +00:00
ahb
e1da80af5b
fix as5048b by adding missing frequency parameter
2017-03-09 12:01:01 +01:00
ahb
164546a65c
increase number of supported PWM channels from 4 to 6
2017-03-09 11:54:37 +01:00
no1wudi
6f4b8c9e60
Merged in no1wudi/nuttx (pull request #241 )
...
fixed the debug method selection of ssd1306
Approved-by: Gregory Nutt
2017-03-07 13:36:26 +00:00
Janne Rosberg
ce2845c5c3
usbhost_cdcacm: fix tx outbuffer overflow and remove now invalid assert
2017-03-07 06:59:00 -06:00
no1wudi
5528b2836c
fixed the debug method selection of ssd1306
2017-03-07 19:49:18 +08:00
Maciej Wójcik
1e6ab4763c
typos
2017-03-05 13:04:07 +00:00
Gregory Nutt
c976a66f8d
net/drivers/skeleton.c: Back out serialization changes of the last commit. They are not necessary in the skeleton.c example because the calls to net_lock() at the beginning of each worker function will enforce serialization.
2017-03-04 11:33:36 -06:00
Gregory Nutt
e2eb5f1ae0
drivers/net: Add framework for serialization in the case where multiple low-priority work queues are used.
2017-03-04 09:45:09 -06:00
Gregory Nutt
a8363528dc
net/phy_notify.c: Call to arch_phy_irq() missing new interrupt argument parameter.
2017-03-03 16:08:21 -06:00