Commit Graph

2221 Commits

Author SHA1 Message Date
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
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
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