Nathan Hartman
71ce894cab
arch/arm/src/tiva, arch/arm/include: Add support for Tiva TM4C129ENCPDT.
2019-11-06 16:20:40 -06:00
Gregory Nutt
79a2890ed5
arch/arm/src/stm32h7/stm32_allocateheap.c: Clean up some comments mangled in the last PR.
2019-11-06 13:24:33 -06:00
David Sidrane
1168e4ecea
Merged in david_s5/nuttx/master_alloc (pull request #1068 )
...
stm32h7:allocateheap SRAM and SRAM1 are not continuous
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-11-06 19:20:37 +00:00
Gregory Nutt
c8831ac3c8
drivers/serial/serial_io.c and serial_dma.c: Fix some long lines.
2019-11-06 07:10:24 -06:00
ligd
8fb19a4359
drivers/serial/serial_dma.c: Avoid uart_xmitchars_done() move the tail bigger then head. If ioctl(TCOFLUSH) occurs between uart_xmitchars_dma() and uart_xmitchars_done(), TCOFLUSH will reset xmit buffer, then uart_xmitchars_done() will move the 'tail' ahead of 'head', then sends lots of wrong data.
2019-11-06 07:07:30 -06:00
Gregory Nutt
3e8366775f
Run tools/nxstyle against some files.
2019-11-05 19:39:36 -06:00
David S. Alessio
87329ebf67
boards/arm/stm32/olimex-stm32-e407/scripts/: Individual linker scripts for F407ZE and F407ZG chips.
2019-11-05 18:35:23 -06:00
Xiang Xiao
3a32937b9b
drivers/wireless/ieee80211/bcm43xxx: Move drivers/wireless/ieee80211/ to drivers/wireless/ieee80211/bcm43xxx/
...
since the directory only contains only BCM43362 and BCM43438 related code.
2019-11-05 15:38:01 -06:00
Heiko Demlang
7b6bd5cc0f
boards/arm/stm32h7/nucleo-h743zi/src: Added gpio-device-driver for userspace apps.
2019-11-05 14:14:55 -06:00
David Alessio
1c3d6ea24b
sched/sched/sched_waitpid.c: Fix null pointer derefence on race without DEBUG_ASSERT.
2019-11-05 08:59:01 -06:00
Gregory Nutt
e2976c5b4e
boards/../stm32_appinit.c: Handle cases where 'OK' is not defined.
2019-11-05 07:47:12 -06:00
Juha Niskanen
a085a0a70b
fs/smartfs/smartfs_smart.c: Honor O_APPEND on writes. Also document pwrite() bug/limitation.
2019-11-05 07:32:23 -06:00
Juha Niskanen
3268eb882e
fs/smartfs/smartfs_smart.c: Fix O_CREAT without O_TRUNC truncating existing file. Also nothing in POSIX says that O_APPEND should prevent O_TRUNC.
2019-11-05 07:28:24 -06:00
David Alessio
0154126c01
boards/Kconfig: Newer Olimex E407 boards are populated with STM32407ZE chips.
2019-11-05 07:12:07 -06:00
Gregory Nutt
e207f020d7
boards/boardctl.c: pm_stay() was used were pm_staycount() was intended. The caused an error: void value not ignored as it ought to be.
2019-11-04 18:28:01 -06:00
Gregory Nutt
86846f8bb3
include/sys/boardctl.h: pm.h is in include/nuttx/power/pm.h, not include/nuttx/pm.h.
2019-11-04 16:59:18 -06:00
David Sidrane
f078a2496b
drivers/serial/serial_io.c: Uses signal numbers, but does not include signal.h. This has not problems but missing signal definitions have been seen in certain cases.
2019-11-04 16:24:41 -06:00
Gregory Nutt
3927be2612
libs/libc/string/Make.defs: Need to include build support for files needed when CHAR_BIT != 8.
2019-11-04 16:02:50 -06:00
Gregory Nutt
dc3ae12545
boards/arm/stm32/nucleo-f4x1re/src/stm32_boot.c: Fix some erroneous conditional compilation in board_late_initialize().
2019-11-04 14:20:15 -06:00
Gregory Nutt
7218f6431c
boards/arm/stm32f0l0g0/nucleo-g070rb/src/stm32_boot.c: Fix some erroneous conditional compilation in board_late_initialize().
2019-11-04 14:16:43 -06:00
Daniel Pereira Volpato
4c5cbdfae3
boards/arm/stm32f0l0g0/nucleo-g070rb: boards/arm/stm32f0l0g0/nucleo-g070rb: Add button driver support, Add driver support. Add GPIO example. Includes fixes to the GPIO driver support from Guillherme Amaral <gvr@certi.org.br>.
2019-11-04 14:11:36 -06:00
Gregory Nutt
38e527deeb
net/netlink: Fix cosmetic issues, mostly typo fixes.
2019-11-04 14:06:07 -06:00
Dave Marples
48d1d9d84f
arch/arm/src/imxrt/imxrt_serial.c: This commit improves the performance of UART serial ports on the IMXRT by enabling the RX & TX FIFOS and transmission on the holding register being empty (TDRE) rather than transmission being complete (TC).
2019-11-04 11:16:46 -06:00
Gregory Nutt
6d197e5a59
include/nuttx/audio/audio.h: Fix some typos that I introduced with my review of a recent patch.
2019-11-04 10:45:13 -06:00
Gregory Nutt
6d13705e93
net/netlink: The NETLINK_ROUTE logic needs to return the first queued response and not attempt to match up reponses with requests. That is the Linux compatible way. Also, use queue.h functions for list management and fix an error in arp_snapshot().
2019-11-04 09:02:14 -06:00
Alin Jerpelea
7153598124
Merged in alinjerpelea/nuttx (pull request #1066 )
...
drivers: modem: altair: auto select SPI
The Altair hardware is connected to SPI and will not work without SPI support
The SPI_EXCHANGE is automaticaly enabled (default y) when SPI is selected.
Since SPI is mandatory it should be auto selected
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-11-04 14:24:44 +00:00
Xiang Xiao
800e12fc42
arch/: Add rpmsg_serialini() call to every implementation of up_initialize() for rpmsg uart initialization.
2019-11-04 08:11:50 -06:00
Gregory Nutt
a257a5e606
Documentation/NuttShell.html: Update document to at least mention the new pmconfig command.
2019-11-04 08:01:28 -06:00
Xiang Xiao
8a59ae70ff
boards/boardctl.c: Expose power manager function through boardctl interface.
2019-11-04 07:41:25 -06:00
Alin Jerpelea
516945d97e
boards/arm/cxd56xx/spresense/configs/lte/defconfig: Select CONFIG_MODEM_ALTMDM.
2019-11-04 07:18:18 -06:00
Alin Jerpelea
182c55635d
include/nuttx/rptun/rptun.h: openamp/open_amp.h must not be included unless CONFIG_RPTUN (and heance CONFIG_OPENAMP) are selected.
2019-11-04 07:15:06 -06:00
ligd
3480f7a0bc
drivers/serial/serial.c: Only real uart will call pm_activity().
2019-11-03 19:56:28 -06:00
Xiang Xiao
270b62bacc
include/nuttx/mm/mm.h: Remove the assumption that one character equals eight bits.
2019-11-03 19:54:23 -06:00
anchao
9e3bafc7c6
audio/audio.c: Add message type to support audio trigger.
2019-11-03 19:52:18 -06:00
ligd
eb0d0c764e
include/nuttx/ioexpander/gpio.h: Add guards so that file content will not compile unless CONFIG_DEV_GPIO is selected.
2019-11-03 19:46:56 -06:00
Xiang Xiao
0c50499027
drivers/addrenv.c: Move up_addrenv_ implemenation to common folder.
2019-11-03 19:45:05 -06:00
Xiang Xiao
c397692532
sched/semaphore/spinlock.c: spin_trylock handle memory barrier and instrumentation correctly.
2019-11-03 19:40:58 -06:00
Xiang Xiao
e1a89d29ee
sched/semaphore/spinlock.c: Remove support for re-entrant spinlocks. They seem like a good idea, but they are never used.
2019-11-03 19:38:39 -06:00
Petro Karashchenko
e805bc0660
Various drivers: Cloned logic. On error, memory was freed, but the error was not returned. It just continued as though no error happened.
2019-11-03 19:31:49 -06:00
Gregory Nutt
7bd045130c
net/netlink/: Misc bugfixes from initial testing using NSH 'arp -t' command.
2019-11-03 19:27:58 -06:00
Gregory Nutt
3439720739
Documentation/NuttShell.html: Document the new -t option for the 'arp' command.
2019-11-03 16:21:51 -06:00
Gregory Nutt
fa98b268ec
include/netpacket/netlink.h: Some cosmetic reorganization.
2019-11-03 16:15:59 -06:00
Gregory Nutt
2991987018
net/netlink/netlink_route.c (mostly): This completes a minimal netlink implementation that will retrieve the ARP table.
...
net/netlink: Add basic hooks (only) to support the NETLINK_ROUTE protocol.
2019-11-03 13:59:42 -06:00
Gregory Nutt
d0c164274d
include/nuttx/usb/usbdev.h: Fix a typo introduced with commit 67b4f9d0e1
.
2019-11-03 13:16:30 -06:00
Gregory Nutt
a917f71fa2
Documentation/NuttShell.html: Update to include the new rptun command.
2019-11-03 10:04:50 -06:00
Gregory Nutt
bec32fbd5c
openamp/Makefile: libmetal/Make.defs and open-amp/Make.defs. may not be present.
2019-11-03 09:30:34 -06:00
Gregory Nutt
aa0f8c8374
include/nuttx/usb/usbdev.h: Fix a typo introduced with commit 67b4f9d0e1
.
2019-11-03 09:28:37 -06:00
Xiang Xiao
5d2db59424
drivers/rptun/rptun.c: Switch open/close/seek/read to file_* version.
2019-11-03 07:33:04 -06:00
Xiang Xiao
383ce02442
drivers/rptun/rptun.c and fs/hostfs/hostfs_rpmsg.c: Fix 64-bit build issue in rpmsg driver.
2019-11-03 07:28:17 -06:00
Gregory Nutt
67b4f9d0e1
include/nuttx/usb/usbdev.h and usbhost.h: Add CODE qualifier to function pointers.
2019-11-02 18:12:59 -06:00