Alan Carvalho de Assis
bab5de15f6
Remove warning from MCP2515 compilation
2017-05-23 19:41:58 -03:00
Alan Carvalho de Assis
fb7866bdc8
Use the right variable name at mcp2515_txready()
2017-05-23 19:30:12 -03:00
Gregory Nutt
38ae28e978
MCP2515: Changes from review of last PR
2017-05-23 12:22:49 -06:00
Alan Carvalho de Assis
eb7373cedf
Add Microchip MCP2515 CAN Bus controller driver
2017-05-23 14:28:52 -03:00
Masayuki Ishikawa
810f9b516c
drivers/bch: Fix 'Missing Unlock' in bchdev_driver.c
...
Jira: PDFW15IS-265
Coverity-ID: 10597
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-05-22 14:29:41 +09:00
Nobutaka Toyoshima
a862b653bd
Replace sprintf() with snprintf() in pipe.c
...
Jira: PDFW15IS-265
Coverity-ID: 10696
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-05-22 09:22:23 +09:00
Taras Drozdovsky
4ab2a3661e
STM32F4: add cs43l22 audio driver and i2s driver
2017-05-21 14:14:09 -06:00
Gregory Nutt
679a08e371
Merge remote-tracking branch 'spiriou/wapi_scan'
2017-05-21 09:25:02 -06:00
Simon Piriou
a332c4b9ce
bcmf: fix issue in AP scan event processing
2017-05-21 16:04:24 +02:00
Simon Piriou
6b15c26e56
bcmf: add SIOCGIWSCAN ioctl support
2017-05-20 22:13:15 +02:00
Gregory Nutt
bc32eaa228
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-19 07:17:37 -06:00
Gregory Nutt
5ce2ece134
syslog: Add header file inclusion to eliminate a warning; mm/iob: private function needs static storage class.
2017-05-16 12:26:23 -06:00
Jussi Kivilinna
a6e556d31c
I had to make following change to fix interrupt context syslog (INTBUFFER untested)
2017-05-16 10:56:49 -06:00
Gregory Nutt
9fb2fed90e
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-16 08:05:38 -06:00
EunBong Song
5ef00f0b91
drivers/bch: BCH character driver bch_ioctl() always returns -ENOTTY for DIOC_GETPRIV command. It should returns OK if DIOC_GETPRIV command succeeds.
2017-05-16 08:01:05 -06:00
Anthony Merlino
06634afbe0
wireless/ieee802154: Restructuring of MAC notifications. Simplifes some interfaces
2017-05-15 21:44:57 -04:00
Juha Niskanen
34e68a569b
drivers: rename newly introduced up_i2creset to I2C_RESET
2017-05-15 07:22:17 -06:00
Juha Niskanen
b9a769d65d
drivers: fix some bad NULL checks
2017-05-15 07:20:32 -06:00
Gregory Nutt
fa649df52e
Photon: Small update from Simon Piriou.
2017-05-14 08:39:53 -06:00
Gregory Nutt
06db5614e7
Fix a warning about can.o appearing twice in the same rule.
2017-05-13 18:05:40 -06:00
Gregory Nutt
a52967a772
Syslog interrrupt buffer: eliminate a warning about an uninitialized variable; simply some related logic.
2017-05-13 17:40:46 -06:00
Gregory Nutt
14ae6df182
locale.h: Add a bogus definition of locale_t
2017-05-12 10:13:18 -06:00
Gregory Nutt
7698790be1
Changes from review of last PR
2017-05-12 09:04:52 -06:00
Gregory Nutt
f981191ac9
Merge branch 'can_bus' of bitbucket.org:nuttx/nuttx into can_bus
2017-05-12 08:59:57 -06:00
Gregory Nutt
fc7c3f5328
syslog: I think this might speed upt the CR-LF scan in syslog_dev_write().
2017-05-12 08:50:56 -06:00
Alan Carvalho de Assis
853d332b6c
Move CAN subsystem to its own directory and put device drivers there
...
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2017-05-12 11:48:47 -03:00
Gregory Nutt
c84a3e3519
Bitbucket Issue 47: Some of last syslog changes needed to be condition on #ifdef CONFIG_SYSLOG_BUFFER in order to be built without syslog buffering enabled.
2017-05-12 07:58:11 -06:00
Gregory Nutt
1c9859520f
syslog: There is yet another place where the output can get split. That is in syslog_dev_write(): It will break up the stream to insert a CR before the LF. This can that can be avoid be generating the CR-LF sequence in the buffer and then detecting and ignoring valid CR-LF sequences, rather than expecting syslog_dev_write() to insert the CR in this case.
...
I don't like the idea that syslog_dev_write() still scans the entire output buffer to expand CR-LF sequence. This seems really wasteful, especially in this case where we can be sure that the is no CR or LF without a matching LF or CR. Bu, I think, the existing behavior in syslog_dev_write() must be retained because it is needed in other contexts.
2017-05-12 07:31:50 -06:00
Gregory Nutt
0fc068cc9c
syslog: Avoid flushing syslog_stream buffer, if possible, until lib_vsprintf() completely parses the format. This assures that the flush will flush the entire output, even data that may potentially follow the linefeed. And, in that case, it cannot be interleaved with other devug output. Suggested by Jussi Kivilinna.
2017-05-12 06:58:33 -06:00
Gregory Nutt
0de294a586
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
2017-05-11 13:35:56 -06:00
Juha Niskanen
0f7210b0ae
mtd: fix some unallocated and NULL pointer issues. rwb->wrflush and rwb->wrmaxblocks in rwbuffer could get unallocated values from ftl_initialize() in some configurations. Also fixes related assert:
...
up_assert: Assertion failed at file:rwbuffer.c line: 643
that can happen with the following configuration:
CONFIG_FTL_WRITEBUFFER=y
CONFIG_DRVR_WRITEBUFFER=y
# CONFIG_FS_WRITABLE is not set
These problems are caused by CONFIG variable differences between the buffer layers. TODO: This is not a perfect solution. readahead support has similar issues.
2017-05-11 07:22:21 -06:00
Juha Niskanen
58a0b09b82
mtd/config: fix byte read interface test
2017-05-11 07:19:24 -06:00
Juha Niskanen
797e3c3ca4
mtd: build RAMTRON and AT45DB drivers only if selected
2017-05-11 07:17:29 -06:00
Gregory Nutt
b5c1dd09f5
Syslog: Need inclusion of errno.h for fix building with CONFIG_SYSLOG_TIMESTMAP=y
2017-05-11 07:15:57 -06:00
Jussi Kivilinna
ba933efd9e
When syslog message has addition characters after last new-line. With buffering those now get lost as vsyslog does not flush output after lib_sprintf. Additional trailing characters could be ANSI escape sequence to reset state that message setups. For example, macro here uses colors and resets state after actual message (including '\n'):
...
With flushing added to vsyslog, then there is problem that next syslog line might come from other task before reset sequence, causing wrong line getting color. This could be avoided by not flushing on '\n' but only if IOB is full and/or at end of vsyslog. Would this make sense?
2017-05-11 07:11:35 -06:00
Gregory Nutt
d3b9f5b37f
Syslog buffering: Use IOBs to buffer data, not an on-stack buffer
2017-05-10 17:36:08 -06:00
Gregory Nutt
d8a83f16be
Syslog buffering: Various corrections from early debug
2017-05-10 16:13:21 -06:00
Gregory Nutt
00075acada
Merge branch 'syslog' of https://bitbucket.org/nuttx/nuttx into syslog
2017-05-10 15:04:57 -06:00
Gregory Nutt
20727d17c3
SYSLOG: Add option to buffer SYSLOG output to avoid interleaving.
2017-05-10 14:42:43 -06:00
Floxx
c2096f17d6
Moved LIS3DSH from the I2C-dependent block to the SPI-block to make Make.defs consistent with the driver (SPI only) and drivers/sensors/Kconfig.
2017-05-10 20:18:48 +02:00
Juha Niskanen
4f18b40429
mtd/config: erase block between block read and write
2017-05-10 08:25:39 -06:00
Stefan Kolb
591f35be87
I discovered a problem in the file drivers/serial/serial.c concerning the function uart_close(…). In the case that a serial device is opened with the flag O_NONBLOCK the function uart_close(…) blocks until all data in the buffer is transmitted. The function close(…) called on an handle opened with O_NONBLOCK should not block. The problem occurred with a CDC/ACM device.
2017-05-10 07:59:58 -06:00
Anthony Merlino
806dcd9a47
wireless/ieee802154: Brings closer to Nuttx coding style
2017-05-09 17:20:57 -04:00
Gregory Nutt
2043e1a114
IOBs: Move from driver/iob to a better location in mm/iob
2017-05-09 07:35:30 -06:00
Anthony Merlino
3fa8e32e36
wireless/ieee802154: MRF24J40: Finishes receive functionality, supports promicuous mode, and rxonidle attributes
2017-05-08 16:23:13 -04:00
Anthony Merlino
1490599b69
wireless/ieee802154: Reworks data_ind allocation to include IOB allocation/deallocation. Hides private data.
2017-05-06 10:20:19 -04:00
Anthony Merlino
dd40014279
wireless/ieee802154: Removes radio IOCTL. Starts bringing radio and MAC closer with well-defined interface.
2017-05-05 11:15:38 -04:00
Anthony Merlino
2c57c3f83b
wireless/ieee802154: Changes rxenable at radio layer
2017-05-05 11:15:38 -04:00
Gregory Nutt
6a45afdd75
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-04 07:11:19 -06:00
Gregory Nutt
88be413a05
Remove dangling whitespace at the end of lines.
2017-05-03 18:30:40 -06:00
Gregory Nutt
97f149a40b
Photon: Cosmetic changes to style detected by tools/nxstyle
2017-05-03 18:20:57 -06:00
Simon Piriou
b5e1ea4bef
bcmf: fix frame not freed when dropped + cleanup
2017-05-03 23:19:28 +02:00
Gregory Nutt
2ece0c57dd
Remove dangling whitespace at the end of lines
2017-05-02 14:42:40 -06:00
Gregory Nutt
e94865a317
Merge remote-tracking branch 'origin/master' into photon
2017-05-02 08:49:19 -06:00
Simon Piriou
bd5d6ce986
bcmf: implement basic wext interface for authentication
2017-05-02 08:48:13 -06:00
Anthony Merlino
f02d98d15e
wireless/ieee802154: Changes transmit data path to use IOBs and exposes function for getting size of MAC header
2017-05-02 09:58:54 -04:00
Mateusz Szafoni
1feaae7222
Merged in raiden00/nuttx (pull request #338 )
...
OPAMP support for STM32F33XX
2017-05-02 13:57:56 +00:00
Anthony Merlino
ea44684f0c
Merged in merlin17/nuttx/ieee802154 (pull request #339 )
...
Ieee802154
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-02 13:22:38 +00:00
Gregory Nutt
e87991bbdc
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-01 18:05:38 -06:00
Anthony Merlino
c4007a111c
wireless/ieee802154: Fixes semaphore logic and list logic
2017-05-01 09:27:44 -04:00
Gregory Nutt
e43b86dbd0
Merge remote-tracking branch 'origin/master' into photon
2017-04-30 17:42:37 -06:00
Simon Piriou
fe77735960
bcmf: add netdev support for Broadcom FullMAC driver
2017-04-30 20:36:35 +02:00
Gregory Nutt
193ff349ee
drivers/i2c: Fix compile issus if CONFIG_DISABLE_PSEUDOFS_OPERATIONS is enabeld.
2017-04-30 08:02:38 -06:00
raiden00pl
0b6190c1c4
drivers/analog: Add basic OPAMP driver
2017-04-30 11:11:17 +02:00
Gregory Nutt
a7901f5c4c
Merge remote-tracking branch 'origin/master' into photon
2017-04-29 12:35:01 -06:00
Gregory Nutt
c7264eb550
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:28:19 -06:00
Gregory Nutt
f826877c61
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-29 12:27:49 -06:00
Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -06:00
Gregory Nutt
3482172a16
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-29 10:06:35 -06:00
Simon Piriou
0d1a79719a
bcmf: add escan ioctls support + cleanup
2017-04-28 19:44:48 +02:00
Sebastien Lorquet
0138a79028
bitbang
2017-04-28 18:15:42 +02:00
Gregory Nutt
f1aa43512a
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-27 17:00:11 -06:00
Gregory Nutt
2e6908b384
IOCTLS. Separate wireless character driver IOCTL commands from wireless network driver IOCTL commands. Move from wireless.h to ioctl.h.
2017-04-27 16:58:30 -06:00
Gregory Nutt
a134178034
Enabled wireless IOCTL commands in photon/wlan configuration
2017-04-26 12:30:18 -06:00
Anthony Merlino
b52de42d16
Merged in merlin17/nuttx/ieee802154 (pull request #336 )
...
wireless/ieee802154: Lots of little fixes and changes to get everything to build
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-26 16:50:56 +00:00
Gregory Nutt
7d8140708e
Merge remote-tracking branch 'origin/master' into photon
2017-04-26 10:42:19 -06:00
Gregory Nutt
feba99e99c
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-26 10:39:45 -06:00
Jussi Kivilinna
e835803166
yslog: use monotonic clock for timestamp when available
2017-04-26 10:38:15 -06:00
Anthony Merlino
9e760dcf6a
wireless/ieee802154: Lots of little fixes and changes to get everything to build
2017-04-26 11:36:06 -04:00
Simon Piriou
6bb2db8c15
bcmf: enable DMA for SDIO transfers
2017-04-26 17:23:53 +02:00
Gregory Nutt
ace460ad0e
configs/photon/src/stm32_wlan.c: Remove unused, inappropriate network driver registration.
2017-04-25 13:02:50 -06:00
Gregory Nutt
c5e636ad84
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-24 17:34:35 -06:00
Gregory Nutt
51f6ce7af3
Merge remote-tracking branch 'origin/master' into photon
2017-04-24 15:12:02 -06:00
Gregory Nutt
62fc578661
wireless/ieee80211: Add BSD license information to all files (except the Broadcom files -- need to revisit those).
2017-04-24 15:11:22 -06:00
Simon Piriou
a23ac02959
bcmf: register network driver + update defconfig file
2017-04-24 20:04:47 +02:00
Simon Piriou
d72f36948e
bcmf: fix Kconfig file
2017-04-24 20:02:20 +02:00
Gregory Nutt
a57c79e8b3
wireless/ieee80211: Add broadcom network device registration logic.
2017-04-24 10:43:57 -06:00
Gregory Nutt
e507a3f295
wiress/ieee80211: Broadcom network driver needs to register as an ieee802.11 driver, not an Ethernet driver.
2017-04-24 10:28:06 -06:00
Gregory Nutt
50fb7b0ba0
wireless/ieee80211: Add skeleton for a broadcom network driver.
2017-04-24 10:23:31 -06:00
Masatoshi Tateishi
80e22691fa
USBMSC: Fix a wrong lun number issue
...
Jira: PDFW15IS-98
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-04-24 09:48:49 +09:00
Gregory Nutt
0ac6fbb3c7
drivers/ieee80211/: Change all occurrences of _info, _warn, and _err to wlinfo, wlwarn, and wlerr.
2017-04-23 16:24:47 -06:00
Simon Piriou
c0862c862f
photon: cleanup and refactor bcmf driver
2017-04-23 23:39:17 +02:00
Gregory Nutt
62966d915c
Merge remote-tracking branch 'origin/master' into photon
2017-04-23 10:16:54 -06:00
Simon Piriou
a76266106a
photon: fix compilation errors and update wlan defconfig
2017-04-23 10:00:19 -06:00
Gregory Nutt
0ea071f7eb
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-22 11:58:07 -06:00
Gregory Nutt
79256573e1
net: network drver now retains Ethernet MAC address in a union so that other link layer addresses may be used in a MULTILINK environment.
2017-04-22 11:10:30 -06:00
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
Gregory Nutt
86239d4a73
Experimental change to STM32 Ethernet driver a success. Porting change to all other Ethernet drivers.
2017-03-03 14:45:09 -06: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
f5f9d82d5a
arch_phy_irq: Now returns int instead of xcpt_t oldhandler. The oldhandler is useless after the changes to the interrupt argument. Also access an argument for the PHY interrupt. phy_notify.c driver changed to exploit new interrupt argument passing.
2017-03-02 08:43:33 -06:00
Maciej Wójcik
35b2448203
Merged in w8jcik/nuttx (pull request #232 )
...
some simple typos
Approved-by: Gregory Nutt
2017-03-01 15:25:42 +00:00