Gregory Nutt
17cc0b9bfe
arch/arm/src/imxrt: Minor reparitioning to account for the fact that the GPIO5 base address is not contiguous with the GPIO1-4 base addresses.
2018-04-25 14:54:14 -06:00
Gregory Nutt
10d99cc6e6
include/nuttx/wireless: Add a setbaud() method to the HCI UART lower half interface that can be used to change the default BAUD selection. arch/arm/src/stm32: Implement the setbaud() method for the STM32 HCI UART.
2018-04-25 13:09:08 -06:00
Gregory Nutt
cfc5f86862
net/udp: Minor update from review of 091e3f732e
. In connect(), AF_UNSPEC is used to disconnect UDP socket. However, initial commit lacked logic to mark the socket as disconnected.
2018-04-25 10:13:59 -06:00
Gregory Nutt
091e3f732e
net/udp: Fix several issues using connected UDP sockets: sendto() should not accept and address. Normally send() should be used instead. recvfrom() is no longer necessary. recvfrom() and poll() should not reset to accept any addresses but should, instead, only accept inputs and events from the connected remore peer. On of these issues was noted by 李桂丁 <liguiding@pinecone.net>. Changes were made as summarized here: http://www.masterraghu.com/subjects/np/introduction/unix_network_programming_v1.3/ch08lev1sec11.html
2018-04-25 08:43:38 -06:00
Gregory Nutt
31e3f208b2
tools/configure.sh: Fix last commit. If gmake is not present, then 'which gmake' spews a lot of annoying error messages when configuring. Best to pipe stderr to /dev/null so that we are blessedly unaware of the failures.
2018-04-25 08:28:49 -06:00
Goran Mekić
f6e087a05c
Merged in mekanix/nuttx/feature/clang (pull request #632 )
...
Add clang support to stm32f746g-disco board
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-04-24 22:46:03 +00:00
Gregory Nutt
5fae6f8da6
Update README
2018-04-24 11:05:34 -06:00
Juha Niskanen
3cf830bd67
Merged in juniskane/nuttx_stm32l4/1wire_sht21_changes_pr (pull request #631 )
...
drivers/1wire: add PM hooks and unlink support to sht21 sensor (allowing hot-swappable I2C bus from 1-wire converter)
* drivers/1wire: add PM hook to 1wire bus
* drivers/1wire/ds28e17.c: i2c instance must be zeroed
* drivers/sht21: add unlink support
Unlike most other unlink implementations in NuttX drivers, this one
does not allow any I2C operations after unlink, making it possible to
deallocate the I2C bus.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-04-24 13:21:02 +00:00
Ivan Ucherdzhiev
d24ce35e1c
configs/imxrt1050-evk: Add procfs auto-mount support in imxrt_bringup.c.
2018-04-24 07:04:21 -06:00
Gregory Nutt
3012abdc45
configs/stm32f4discovery/hciuart: Disable MMC/SD support. That made it difficult to re-use the configuration without the base board. MMC/SD support is not needed in that configuration anyway.
2018-04-24 06:53:37 -06:00
Gregory Nutt
2d4e9c1eae
arch/arm/sc/lpc16xx: Extends commit 456a258c23
: Freeing endpoints should be set the same allocations as when endpoint was allocated.
2018-04-23 07:21:20 -06:00
Gregory Nutt
b555b302af
Update README.
2018-04-22 11:32:39 -06:00
Michał Łyszczek
1c3b7a551b
Makefile: Add support for nconfig frontend for 'make nconfig'
2018-04-22 11:32:08 -06:00
Gregory Nutt
0663e075ca
Trivial typo fix
2018-04-22 08:39:18 -06:00
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