Gregory Nutt
f188b35707
Update some comments.
2018-04-22 07:36:39 -06:00
Gregory Nutt
505f460b6b
configs: Review all implementations of board_lcd_initialize(). The NuttX convention is that all internal functions that return errors as an 'int' must return a negated errno value on failure and a non-negative value on success. Most were right but eight of them had cloned logic that returns 1 on success and zero on failure... both of which are interpreted as success by the caller since they are non-negative.
2018-04-21 18:03:01 -06:00
Alan Carvalho de Assis
1a879a3b52
configs/stm32f4discovery: Add MAX7219 support to STM32F4Discovery board
2018-04-21 17:41:01 -06:00
Gregory Nutt
f4cc435b3f
Fix a couple of typos in a README file.
2018-04-21 12:30:14 -06:00
Gregory Nutt
524c0884a6
Update for new README.txt file.
2018-04-21 12:26:26 -06:00
Gregory Nutt
555c6112bc
include/nuttx/wireless: Clean-up/improvement of some IOCTL definitions.
2018-04-21 09:44:35 -06:00
Gregory Nutt
5a8a9e3aec
wireless/bluetooth: Adds implementation of GATT write IOCTL commands.
2018-04-21 08:55:58 -06:00
Gregory Nutt
87dd2dc16a
wireless/bluetooth: Adds implementation of GATT read IOCTL commands.
2018-04-21 08:38:08 -06:00
Michael Jung
456a258c23
/arch/arm/src/lpc17xx: Fix USB device endpoint allocatin bookkeeping.
2018-04-21 06:39:14 -06:00
Michał Łyszczek
94b4a86aa6
fs/vfs: Fix negative errno set in fs_open.c
2018-04-20 17:05:42 -06:00
Jake Choy
459b9ec262
configs/imxrt1050-evk: Add logic to support user LED
2018-04-20 15:59:39 -06:00
Michał Łyszczek
8de51543a4
Fix a few compilation errors.
2018-04-20 15:55:16 -06:00
Michał Łyszczek
a1b80e12cf
arch/arm/src/stm32: Enable DMA for SPI on stm32f30xxx MCUs.
2018-04-20 15:51:13 -06:00
Sergei Ustinov
940f41fb94
arch/arm/src/stm32: Correct typo in STM32 capture driver.
2018-04-20 09:22:16 -06:00
Gregory Nutt
8aa5b6c6ac
include/nuttx/wireless: Add support for the rest of the IOCTL options needed to support apps/wireless/bluetooth/btsak. This is only the IOCTL command definitions. The IOCTL command implementation is still missing.
2018-04-20 09:14:59 -06:00
Gregory Nutt
901d20e64b
arch/arm/src/nrf52: nrf52_wdt_initialize() should return a success/fail indication.
2018-04-20 09:13:37 -06:00
Alan Carvalho de Assis
677be2f437
configs/nrf52-pca10040: Add a configuration for testing the watchdog timer.
2018-04-20 07:47:19 -06:00
Pelle Windestam
303e6499bd
net/tcp: Extended support for sending to non-blocking tcp sockets.
2018-04-20 07:37:51 -06:00
Alan Carvalho de Assis
161fb98b11
configs/nrf52-pca10040: Add support for starting the watchdog timer on the nRF52.
2018-04-20 07:23:57 -06:00
Levin Li
e4c48e0f23
arch/arm/src/nrf52: Add watchdog timer drivers. Includes significant updates from Alan Carvalho de Assis <acassis@gmail.com>
2018-04-20 07:13:22 -06:00
Gregory Nutt
fec79394f3
Some trivial, cosmetic changes from review of last PR.
2018-04-20 06:57:00 -06:00
Masayuki Ishikawa
b29e7a37b2
Merged in masayuki2009/nuttx.nuttx/network_bridge (pull request #630 )
...
drivers/net: Add TAP (network bridge) mode to tun.c
In previous implementation, TAP mode did not handle a packet
correctly. Also, the driver did not set the link layer type and
could not assign the interface name. This PR changes fix such
issues and supports TAP mode correctly.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-04-20 12:52:49 +00:00
Gregory Nutt
83ccdd0105
arch/arm/src/imxrt: Fix typo introduced in last commit. Noted by jakearcx@gmail.com.
2018-04-20 06:49:45 -06:00
Gregory Nutt
9b83737821
drivers/wireless/bluetooth: Partition bt_uart.c adding bt_uart.h and bt_uart_generic.c. This will now permit adding HCI UART drivers that have custom initialization requirements.. such as parts the need to download a configuration file to the HCI UART before they are usable.
2018-04-19 17:48:04 -06:00
Gregory Nutt
1d044e6952
Eliminate some warnings found in build-testing
2018-04-19 16:54:17 -06:00
Gregory Nutt
82aa7a486c
configs/Kconfig: Fix some breakage inflicted on the Kconfig file by the i.MX RT merge. Fix some coding standard problems in hymini-stm32v board support.
2018-04-19 16:36:35 -06:00
Gregory Nutt
71b8d408e2
wireless/bluetooth: Add IOCTL commands to support MTU exchange.
2018-04-19 15:51:40 -06:00
Gregory Nutt
0a8dd2a778
wireless/bluetooth: Fix an attempt to use an uninitialized semaphore in the IOCTL logic.
2018-04-19 13:43:21 -06:00
Gregory Nutt
4eaa2b8306
wireless/bluetooth: IOCTL discover parameters need to persist throughout the discovery.
2018-04-19 11:57:15 -06:00
Gregory Nutt
2ebe8e99cc
wireless/bluetooth: Add support for IOCTL commands to perform GATT discovery and obtain the results.
2018-04-19 11:26:36 -06:00
Gregory Nutt
f27124dfc4
include/nuttx/wireless: Remove bogus name from structure. This was left over from a previous change and had me confused for awhile.
2018-04-19 09:14:48 -06:00
Gregory Nutt
44a5a7e170
wireless/bluetooth: Remove Rx kernel thread. The operation of dispatching messages can be performed just as well on the high and low priority work queue. The network driver operates the low priority work queue so that also integrates better with network frame reception.
2018-04-19 08:52:09 -06:00
Dmitry Sharihin
a2363bd332
arch/arm/src/tiva: Allow building of Tiva platform with no serial console.
2018-04-19 06:11:15 -06:00
Anthony Merlino
7061d02f0f
Merged in antmerlino/nuttx/xbee_timeout (pull request #629 )
...
Xbee: Adds a timeout to send logic to handle case where XBee module fails to respond to a Transmit request with a Transmit Status
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-04-19 04:08:13 +00:00
Daniel Agar
8a648e8fa9
Merged in dagar/nuttx/pr-stm32f777_typo (pull request #628 )
...
stm32f7 fix CONFIG_STM32F7_STM32F77X define typo
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-04-19 04:06:45 +00:00
Gregory Nutt
8ab2eb55d6
drivers/wireless: Add option to dump I/O buffers. Fix calculation of response length.
2018-04-18 12:46:47 -06:00
Gregory Nutt
50ca22ae78
Trivial, cosmetic update to last review.
2018-04-18 10:14:06 -06:00
Ivan Ucherdzhiev
1672f8d0ce
configs/tms570ls31x-usb-kit: Adds support for the TI Hercules TMS570LS31x USB Kit
2018-04-18 09:21:38 -06:00
Gregory Nutt
1efd591cd8
arch/arm/include/tms570, arm/src/armv7-r, and arm/src/tms570: Adds support for the TMS570LS3137ZWT and corrects seversl ARMv7-R and TMS570 issues
2018-04-18 08:58:36 -06:00
Gregory Nutt
1224db454b
arch/arm/src/stm32 and drivers/wireless/bluetooth: Fix some buffer management errors in HCI UART upper and lower halves.
2018-04-18 08:17:15 -06:00
Gregory Nutt
d93b22d042
net/sixlowpan: Fix a nasty, byte-ordering/endian-ness problem. The root cause has been found and corrected. And a half dozen or so bandaid fixes were reverted.
2018-04-17 15:34:12 -06:00
Gregory Nutt
27f624d881
drivers/wireless/bluetooth: Default BAUD must be 115200, Fix logic in Rx callback, Rx callback must execute on work queue. Now sends and receives one command and response. But hangs on the next.
2018-04-17 13:07:28 -06:00
Gregory Nutt
021b4954d7
arch/arm/src/imxrt: Add power management hooks
2018-04-17 09:17:44 -06:00
Gregory Nutt
c13e54de10
arch/arm/src/stm32: Fix an error in the HCI UART. It was setting 9- vs 8-bit word size.
2018-04-17 08:30:16 -06:00
Ivan Ucherdzhiev
26214f7fb5
arch/arm/src/imxrt: Corrects error in serial interrupts and baud setup. Now the baseic IMXRT1050-EVK port is ready. The console is working.
2018-04-17 07:15:15 -06:00
Gregory Nutt
0271a6a5e9
drivers/wireless/bluetooth: Fix error in testing if interrupts enabled.
2018-04-17 07:13:03 -06:00
Juha Niskanen
8814533e78
Documentation: remove non-existent CONFIG_NSH_TMPDIR from docs
2018-04-17 05:55:57 -06:00
Gregory Nutt
862ff9cae3
arch/arm/src/stm32/: In HCI UART, sense of RTS and CTS are inverted. When we speak of asserting RTS we mean setting nRTS to zero.
2018-04-16 17:14:51 -06:00
Gregory Nutt
603efe6fb5
arch/arm/src/stm32 and configs/stm32f4discovery: Some feeble attempts to communicate with the BT860. Not much progress yet.
2018-04-16 15:24:28 -06:00
Gregory Nutt
5fc2f7a36c
net/sixlowpan: Simplify redundant check in the previous commit. If fullmac == true, then we must also have usemac == true and so checking usemac in that context is redundant.
2018-04-16 10:33:35 -06:00