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