ligd
12b93898d1
drivers/rptun/rptun.c: vring size should also be aligned.
2019-11-11 09:11:17 -06:00
Xiang Xiao
fa264ff7e7
drivers/rptun/rptun.c: Refine the start/stop flow to support the repeat boot.
2019-11-11 09:09:40 -06:00
Xiang Xiao
48de68c474
arch/sim/src/sim/up_hostfs.c: Fix warning: 'mapflags' may be used uninitialized in this function.
2019-11-11 09:01:51 -06:00
Xiang Xiao
5a3d9c7570
arch/sim/src/Makefile: Move all SMP stuff into one place for arch/sim.
2019-11-10 20:42:00 -06:00
Xiang Xiao
a4ce23518e
arch/sim/src/sim: Replace all CONFIG_DEV_CONSOLE with USE_DEVCONSOLE for arch/sim and compile up_devconsole.c conditionally.
2019-11-10 20:40:38 -06:00
Xiang Xiao
db8a7ab39c
arch/sim/src/sim/up_simuart.c: Remove CONFIG_SIM_UART_DATAPOST for arch/sim. It's very dangerous to call NuttX API from simuart_thread.
2019-11-10 20:38:25 -06:00
Dave Marples
27a6039501
boards/arm/imxrt/imxrt1060-evk: An update to the configuration on imx1060-evk to remove compilation warnings about duplicated definitions. No functional changes.
2019-11-10 20:34:04 -06:00
Gregory Nutt
71a968ad71
net/netlink/netlink_route.c: Add missing routing table list terminating response.
2019-11-10 15:00:05 -06:00
Gregory Nutt
3a8a829088
net/netlink/netlink_route.c: Add support for obtaining the entire routing table.
2019-11-10 14:11:44 -06:00
Gregory Nutt
bda0a9c6a7
net/netlink: Fix offset in rtattr. include/net/route.h: Correct form and naming of sruct rtentry. include/netpacket/netlink.h: Add some definitions that will be needed to access routing tables.
2019-11-10 12:35:15 -06:00
Xiang Xiao
800b08b2aa
drivers/rptun/rptun.c: Refine the rptun naming.
2019-11-10 08:45:14 -06:00
Xiang Xiao
a82da37059
openamp/Makefile: Linker input file unused because linking not done.
2019-11-10 08:09:32 -06:00
hao.an
4d64634137
openamp/: Add Makefile defines.
2019-11-10 08:09:32 -06:00
David Sidrane
19015f7e26
Merged in david_s5/nuttx/px4_firmware_nuttx-8.1+_siglewire (pull request #1070 )
...
single wire Allow selection of pull{up|down|none}
* tioctl:Allow selection of pull{up|down|none}
* stm32:Single Wire add pull{up|down|none} tioctl
* stm32f0l0g0:Single Wire add pull{up|down|none} tioctl
* stm32f7:Single Wire add pull{up|down|none} tioctl
* stm32h7:Single Wire add pull{up|down|none} tioctl
* stm32l4:Single Wire add pull{up|down|none} tioctl
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-11-10 12:27:47 +00:00
Gregory Nutt
8c85ecf531
net/netlink/netlink_route.c: Add support for the NETLINK_ROUTE RTM_GETLINK command that is used to obtain a list of all devices in the UP state.
2019-11-09 17:36:30 -06:00
Gregory Nutt
5b47b535a0
boards/arm/imxrt/imxrt10*0-evk/include/board.h: Put all LCD definitions together.
2019-11-09 12:18:13 -06:00
Gregory Nutt
a9ef2b4208
tools/nxstyle.c: Eliminate false positive 'Invalid character after asterisk in comment block'.
2019-11-09 12:10:43 -06:00
Gregory Nutt
a450b85dc8
boards/arm/imxrt/imxrt1020-evk/include/board.h: Revert part of 2b4db647ec
. The 1020, has no LCD.
2019-11-09 10:28:28 -06:00
Gregory Nutt
2b4db647ec
board/arm/imxrt: Because of that last dumb pin naming change, we now have to define EVERY pin in the board.h head file. How idiotic!
2019-11-09 10:22:45 -06:00
chao.an
f2428edd7d
arch/sim/src/nuttx-names.dat: Add host ftruncate() support.
2019-11-09 10:07:07 -06:00
Gregory Nutt
2b00f4505c
Merge branch 'master' of bitbucket.org:nuttx/nuttx
2019-11-09 09:56:02 -06:00
Gregory Nutt
731fddd8e3
boards/arm/imxrt/imxrt1020-evk/include/board.h: Fix an error that I introduced with code review.
2019-11-09 09:55:16 -06:00
Gregory Nutt
c2cbcd24a4
Remove some headers from emtpy sections.
2019-11-09 09:19:51 -06:00
Matias Nitsche
e118d99bf5
drivers/power/pm: Historically, the NuttX PM subsystem has consisted of two functional components: (1) an "Upper" part that detects state changes based on a random walk driven by activity levels, and (2) and "lower" part that implementst the state changes.
...
This change decouples that upper activity-based logic from the lower random walk logic and allows use of other upper state detection logic (such as a custom, application-specific state machine).
2019-11-09 09:09:33 -06:00
Gregory Nutt
2ab4d635b4
tools/nxstyle.c: Correct detection of missing blank line following a block comment.
2019-11-09 08:15:12 -06:00
Dave Marples
4835c4c017
i.MXRT 106x: pinmux change sof the 1060's.
2019-11-08 18:20:14 -06:00
Gregory Nutt
e2905bc69c
boards/arm/imxrt/imxrt1020-evk: Run all .c and .h files through tools/nxstyle and fix numerous coding violations. This sucks. The submitter of the patch is responsibile for doing this and dumping this on me is shit.
2019-11-08 17:49:29 -06:00
Dave Marples
aedccfc940
arch/arm/src/imxrt/imxrt_enet.c: Improve naming of Ethernet pins.
2019-11-08 17:33:37 -06:00
Dave Marples
b10737864f
boards/arm/imxrt/imxrt1020-evk: Add support for the MIMXRT1021-EVK board. It features nsh, netnsh and usdhc sample configurations.
2019-11-08 17:18:01 -06:00
Dave Marples
15c2951c0d
This commit, initially for the imxrt1050, separates out the pinmux and iomux functions cleanly. For ease of conversion default IOMUX definitions have been added into imxrt_iomux.h. The change effectively does two things;
...
(1) unifies the iomux definitions - previously some pins had them, and some didn't. This effectively made it impossible to use the pinmuxes without editing the header file in the standard distribution tree.
(2) unifies the pin definitions so that every pin now has a suffix. This makes it *much* easier to see when a pin is in use in your code, because it will always have a definition in your board.h file.
For anyone who is already using this CPU, a couple of small changes are needed to existing code;
In respect of (1) add IOMUX decorators to your pin definitions. You will find defaults in haardware/imxrt_iomux.h. Every pin should have a IOMUX decorator and in general the defaults should be OK. So while previously in your board.h file you might have had;
You will now have;
In respect of (2) you will need to add selectors for any function that previously only had one pinning option. There aren't many of those but LPUART1 is a good example. That just means adding into your board.h something like;
2019-11-08 17:08:48 -06:00
Matias N
93e11dacb8
arch/arm/src/stm32l4/stm32l4_idle.c: (1) Added BEGIN_IDLE()/END_IDLE() to stop call so that we also get notification via LED of the STOP mode, (2) Added the stm32l4_clockenable call as previously discussed, and (3) Added call to pm_changestate() to inform drivers we're back to running after the call to stm32l4_stop() returns.
2019-11-08 17:00:16 -06:00
Gregory Nutt
b6756eb5fe
Trivial update to some comments.
2019-11-08 12:06:29 -06:00
Gregory Nutt
dbbabcd33c
Squashed commit of the following:
...
net/netlink/netlink_route.c: Add Netlink socket NETLINK_ROUTE support for getting a snopshot of the Neighbor table.
net/neighbor/neighbor_snapshot.c: Add neighbor_snapshot() that will eventually be used by the Netlink sockets. Also fixed naming violation 'struct neighbor_entry' -> 'struct neighbor_entry_s'.
include/nuttx/net/neighbor.h: Expose format of the IPv6 neighbor table for use with Netlink sockets.
2019-11-08 11:16:04 -06:00
David Sidrane
2213904cfd
Merged in david_s5/nuttx/px4_firmware_nuttx-8.1+_bbsram_mpu (pull request #1069 )
...
STM32H7:Set the BBSRAM memory range to non-cacheable.
* armv7-m:mpu add user peripheral helper
* stm32h7:BBSRAM Exclude BBSRAM from cacheable when CONFIG_ARMV7M_DCACHE
ST placed the STM32H7 BBSRAM in the SRAM default memory region
which is cacheable. This commit sets the BBSRAM memory range
to non-cacheable.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-11-08 16:17:28 +00:00
Dave Marples
2b8cd24364
arch/arm/src/armv7-m/nvic.h: Add BPIALL register address.
2019-11-08 09:49:41 -06:00
Juha Niskanen
219d99451a
drivers/syslog/syslog_device.c: Fix assert that assumes re-opened syslog file is the same. Logic in syslog_file_channel() is calling syslog_initialize() for the default syslog device as a recovery action after failed syslog_dev_initialize().
2019-11-08 07:43:24 -06:00
Matias N
853e3e0086
arch/arm/src/stm32l4/stm32l4x6xx_rcc.c: This fix is needed if HSI clock is selected. Otherwise when waking up from STOP mode, the MSI clock is selected instead of the HSI clock.
2019-11-07 14:14:09 -06:00
Gregory Nutt
d31411189e
net/netlink/Kconfig: Remove dependency on EXPERIMENTAL. Although the Netlink implementation is still only fragmentary, there is no usable functionality there and no reason for it to depend on EXPERIMENTAL. Also minor changes to the menu organization so that the Netlink options appear the same was as do other network options.
2019-11-07 14:10:35 -06:00
Matouš Pokorný
4d59d6cbcc
drivers/mtd/mtd_progmem.c: Small typo fix.
2019-11-07 07:46:22 -06:00
Han Raaijmakers
d86a9c6374
boards/arm/s32k1xx/s32k146evb/scripts/s32k146.cfg and boards/arm/s32k1xx/s32k146evb/README.txt: Added configuration script and instructions for using Thread-Aware OpenOCD for the S32K146 with Eclipse.
2019-11-07 07:38:58 -06:00
ligd
6710ba47d8
drivers/serial/serial_dma.c: Still need reset xmit buffer when meet TCOFLUSH. This is an amendment to 8fb19a4359
.
2019-11-07 06:40:21 -06:00
Nathan Hartman
33898ef551
arch/arm/include/tiva/tm4c_irq.h: Fix wrong IRQ vector number.
2019-11-06 20:43:51 -06:00
Nathan Hartman
3869cfc41d
arch/arm/src/tiva/common/tiva_flash.c: Improve tiva_write() (but needs more work!)
...
arch/arm/src/tiva/common/tiva_flash.c: Fix several mistakes in
tiva_write() but note that this function needs more work. (1) Fix wrong
use of && when & was intended. (2) Add compile- time warning directive
because according to this function's interface, it is supposed to
support unaligned writes and/or writes of arbitrary numbers of bytes to
FLASH. However, this function does NOT support that at this time. This
needs to be fixed. (3) Fix wrong preprocessor conditional. Was written
to use the 32-word write buffer only for TM4C1294NCPDT. This buffer is
available on all TM4C123 and TM4C129 parts. Now conditioned upon
CONFIG_ARCH_CHIP_TM4C123 or CONFIG_ARCH_CHIP_TM4C129. (4) Add comments
to document the intent of the above preprocessor logic.
2019-11-06 20:35:35 -06:00
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