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
Gregory Nutt
d59c97208c
arch/arm/src/imxrt: Fix problem with with CPU hanging during boot in the clockconfig function. configs/imxrt1050-evk/scripts: Update linker script so that the NXP boot header will be included in the build.
2018-04-16 09:30:04 -06:00
Gregory Nutt
9ddce0b324
net/sixlowpan: Grrr.. got conditional logic reversed in the last commit
2018-04-16 08:02:42 -06:00
Gregory Nutt
12002d1604
net/sixlowpan: When uncompressing link local addresses, the source of the address matters. Apparently address by byte reversed in IP addresses. But if the source of the address is the locally assigned address, bytes are not reversed.
2018-04-16 07:34:02 -06:00
Gregory Nutt
06aee06a8d
Revert "net/sixlowpan: Fix a constant value used in IPv6 address decompression. The 0x0200 value used in the address modification should be in network order."
...
This reverts commit e8832be8f1
.
2018-04-16 06:40:10 -06:00
Gregory Nutt
e470846356
Remove all references to the Yahoo group.
2018-04-15 17:15:48 -06:00
Gregory Nutt
949adaa4c9
bt_hcicore.c edited online with Bitbucket
2018-04-15 02:04:26 +00:00
Gregory Nutt
91ff7cc785
wireless/bluetooth: Soften use of enter_critical_sectino() which is a performance hog in SMP configurations. Replace with spin_lock_irqsave() in most cases. That is the same for single core CPUs, but much more efficient in SMP configurations. And better, repace with sched_lock() if there is really no necessity to disable interrupts too.
2018-04-14 17:55:30 -06:00
Alan Carvalho de Assis
f45ec5c695
tools/mkromfsimg.sh: Include an option in mkromfsimg.sh to ignore FAT/RAMDISK. This permits you to build tiny systems with ROMFS but with the rather large FAT FS support.
2018-04-14 15:24:04 -06:00
Michał Łyszczek
1d8fd9e034
fs/mount: Fix wrong size reported by df -h. Reason is that size in bytes is calculated always on uint32_t types and cards bigger than 4GB will overflow uint32_t type. Solution is to use uint64_t where possible.
2018-04-14 15:15:59 -06:00
Gregory Nutt
9aa1c6c3d5
wireless/bluetooth: Use nxsem_timedwait() vs nxsem_wait() when waiting for response from the HCI device. Adding this timeout prevents things from hanging when there is a problem with the connect HCI UART (in the current test, when there is no HCI UART connected).
2018-04-14 15:09:12 -06:00
Alan Carvalho de Assis
3b74f80981
arch/arm/src/xmc4: Add SPI support for Infineon XMC45xx microcontroller
2018-04-14 12:19:47 -06:00
Gregory Nutt
5d2c226675
wireless/bluetooth and drivers/wireless/bluetooth: Simply the driver registration/initialization interface.
2018-04-14 11:33:29 -06:00
Gregory Nutt
a374c9daf8
arch/arm/src/stm32: In HCI UART driver, need to disable Tx interrupts after frame sent. Otherwise, we get infinite Tx interrupts.
2018-04-14 10:04:21 -06:00
Gregory Nutt
fa287e8863
Various fixes/changes from intial testing of the HCI UART on the STM32F4-Discovery board. Re-organized how the Blutetooth network driver is initialized. Added lots of new debug output. Add a new STM32 F4 Discovery configuration for testing the HCI UART. Various fixes to get through initialization (still does not).
2018-04-14 09:23:08 -06:00
Michał Łyszczek
ee6264df4e
fs/smartfs: Fix a hardfault in SmartFS. Problem occurred when opening a file with O_CREAT (only) when the file arelready exists but has a size of zero.
2018-04-14 06:44:38 -06:00
Gregory Nutt
0686989645
configs/stm32fdiscovery: Add support in bringup logic to initialize the HCI UART and register the HCI UART network device.
2018-04-13 14:53:11 -06:00