Xiang Xiao
febf226992
boards/sim/sim/sim/src/sim_bringup.c: Auto mount binfs to /bin if CONFIG_FS_BINFS.
2019-12-05 08:50:59 -06:00
Xiang Xiao
948c566e39
libs/libc/syslog/lib_syslog.c: Bring back the commit 2e8eba35ff
'libs/libc/syslog/lib_syslog.c: Fix syslog crash on 64bit simulation'. This has more detailed information:
...
https://stackoverflow.com/questions/10807310/platform-inconsistencies-with-vsprintf-and-va-list .
2019-12-05 07:17:55 -06:00
Gregory Nutt
f109c5b99c
Numerous changes to last PR to conform to the NuttX coding standard.
2019-12-03 16:46:12 -06:00
Alin Jerpelea
338bc46f5e
Merged in alinjerpelea/nuttx (pull request #1088 )
...
add mkspk tool for cxd56 devices
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-03 22:17:31 +00:00
David Sidrane
1c05846f92
Merged in david_s5/nuttx-5/David-Sidrane/archarmsrcstm32f7stm32_serialc-fix-typo-1575381167793 (pull request #1087 )
...
arch/arm/src/stm32f7/stm32_serial.c: Fix typo in UART7
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-03 14:25:08 +00:00
David Sidrane
92a3a8e026
arch/arm/src/stm32f7/stm32_serial.c: Serial nxsyle fixes (sans long table lines).
2019-12-03 07:23:14 -06:00
David Sidrane
baeaf54c6c
arch/arm/src/stm32f7/stm32_serial.c: Add Tx U[S]ART DMA.
2019-12-03 07:21:58 -06:00
David Sidrane
d3e0d5ee72
arch/arm/src/stm32f7/stm32_serial.c: CONFIG_USART_DMAPRIO->CONFIG_USART_RXDMAPRIO.
2019-12-03 07:18:42 -06:00
David Sidrane
b095ab392c
arch/arm/src/stm32/stm32_serial.c: SERIAL_HAVE_DMA->SERIAL_HAVE_RXDMA.
2019-12-03 07:15:59 -06:00
David Sidrane
fe12b843d0
arch/arm/src/stm32/stm32_hciuart.c: CONFIG_STM32_HCIUART_DMAPRIO->CONFIG_STM32_HCIUART_RXDMAPRIO.
2019-12-03 07:14:30 -06:00
David Sidrane
bbdc6875de
arch/arm/src/stm32l4/stm32l4_serial.c: SERIAL_HAVE_DMA->SERIAL_HAVE_RXDMA.
2019-12-03 07:11:54 -06:00
Gregory Nutt
f4102b7d6e
arch/arm/src/stm32f0l0g0/stm32_serial_v1.c: SERIAL_HAVE_DMA->SERIAL_HAVE_RXDMA.
2019-12-03 07:10:26 -06:00
David Sidrane
64d956e7a1
arch/arm/src/stm32l4/stm32l4_serial.c: CONFIG_USART_DMAPRIO->CONFIG_USART_RXDMAPRIO.
2019-12-03 07:08:56 -06:00
David Sidrane
e35325e385
arch/arm/src/stm32f0l0g0/stm32_serial_v1.c: CONFIG_USART_DMAPRIO->CONFIG_USART_RXDMAPRIO
2019-12-03 07:07:49 -06:00
David Sidrane
f822107efb
drivers/serial/Kconfig: Split serial Rx/Tx DMA.
2019-12-03 07:06:30 -06:00
Gregory Nutt
d87295f328
tools/Directories.mk, Makefile.*: Extend the clean_context target so that it will remove the autogenerated files created during the context phase of the initial build.
2019-12-03 06:38:53 -06:00
Guillherme Amaral
15f358d6a9
arch/arm/src/stm32f0l0g0: Fix PWM on TIM16 not working: Adjust TIM registers, Add pins available for mapping TIM14-17, CCMR2 registers was being handled for TIMs who do not have it, and Fix PWM frequency being doubled when in center-aligned mode.
2019-12-02 09:14:56 -06:00
Masayuki Ishikawa
f46e5d58d0
Merged in masayuki2009/nuttx.nuttx/fe310_updates (pull request #1085 )
...
fe310 updates
* arch: fe310: Rename CLIC to CLINT
* boards: hifive1-revb: Add README.txt
* arch: fe310: Use atomic operations in up_irq_save() and up_irq_enable()
* arch: fe310: Remove unused configs in Kconfig
* boards: hifive1-revb: Change UART0 buff size and remove debug features.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-02 14:45:41 +00:00
Gregory Nutt
b599aa0cee
fs/cromfs/fs_cromfs.c: Back out an erroneous change I made during a code review. Noted by Jussi Kivilinna.
2019-12-02 08:44:50 -06:00
Gregory Nutt
4e2b2e8ce7
Coding standard corrections in last PR.
2019-12-02 08:42:50 -06:00
kyChu
db49e62118
Merged in kyChuGit/nuttx/aht10_sensor (pull request #1084 )
...
add new driver support for the ASAIR AHT10 temperature and humidity sensor
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-02 14:36:09 +00:00
Gregory Nutt
7dfae773f2
.gignore: Remove /pcode. P-code support is gone.
2019-12-02 08:34:43 -06:00
OSer
1e2c840752
Merged in OSer916/nuttx/fix_stm32l4_sai (pull request #1083 )
...
boards/arm/stm32f7/stm32f746g-disco: add SAI driver
* ignore TAGS
* arch/arm/src/stm32l4/stm32l4_sai.c: fix type error
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-02 14:22:58 +00:00
Masayuki Ishikawa
200770915e
Merged in masayuki2009/nuttx.nuttx/spresense_with_elf (pull request #1082 )
...
boards: spresense: rndis and wifi configurations support elf
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-02 14:22:27 +00:00
Valmantas Palikša
cc0a0e7aa9
arch/arm/src/armv7-m/up_schedulesigaction.c: Correct hardfault that can occur when killing a task via Ctrl-C in PROTECTED mode.
2019-12-02 08:16:34 -06:00
Gregory Nutt
736a0da8ec
Fix various coding standard problems in last PR, mostly as reported by tools/nxstyle.
2019-12-01 20:17:57 -06:00
OSer
498fb6d15f
Merged in OSer916/nuttx/stm32f746g-disco_sai (pull request #1081 )
...
boards/arm/stm32f7/stm32f746g-disco: add SAI driver
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-02 01:55:29 +00:00
Gregory Nutt
d2af57169b
tools/nxstyle.c: Fix a rare false alarm that could occur if a variable or function name begins with the sub-string 'union' or 'struct'. misc fixes under fs/ and sched/ from application of current version of nxstyle.
2019-12-01 13:01:16 -06:00
Gregory Nutt
91d04837e9
tools/nxstyle.c: Eliminate some false alarms related to comments to the right of code about alignment and spacing.
2019-12-01 11:37:30 -06:00
Masayuki Ishikawa
a5501cf853
Merged in masayuki2009/nuttx.nuttx/riscv-updates (pull request #1080 )
...
riscv updates
* arch: risc-v: Remove up_dumpstate.c because the file had been merged into up_assert.c
* boards: gapuino: Modify Makefile which conforms to NuttX standards
* boards: nr5m100-nexys4: Modify Makefile which conforms to NuttX standards
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-01 13:01:04 +00:00
Guillherme Amaral
74883ddd97
arch/arm/src/stm32f0l0g0/stm32_pwm.c: Add missing logic for PWM stop for TIM14-15.
2019-11-30 15:36:41 -06:00
Guillherme Amaral
d022b56b84
arch/arm/src/stm32f0l0g0/Kconfig: Select STM32F0L0G0_PWM when TIM{14-17}_PWM enabled.
2019-11-30 15:34:00 -06:00
Gregory Nutt
80a56e9f3d
sched/signal/sig_dispatch.c: Extend some comments.
2019-11-30 14:08:47 -06:00
Gregory Nutt
4465916c5e
drivers/mmcsd/mmcsd_sdio.c: Correct typo noted in Issue 180
2019-11-30 09:27:55 -06:00
Gregory Nutt
108ffe7044
Within the OS, nxisg_sleep() should be used instead of sleep(). sleep() is a cancellation point and sets the errno value. Neither of which should be done inside the OS.
2019-11-29 19:03:24 -06:00
Gregory Nutt
4f1d891067
arch/: Within the OS, nxisg_usleep() should be used instead of usleep(). usleep() is a cancellation point and sets the errno value. Neither of which should be done inside the OS.
2019-11-29 17:54:43 -06:00
Gregory Nutt
03e41c6806
boards/: Within the OS, nxisg_usleep() should be used instead of usleep(). usleep() is a cancellation point and sets the errno value. Neither of which should be done inside the OS.
2019-11-29 17:47:03 -06:00
Gregory Nutt
244437257b
drivers/: Within the OS, nxisg_usleep() should be used instead of usleep(). usleep() is a cancellation point and sets the errno value. Neither of which should be done inside the OS.
2019-11-29 17:37:39 -06:00
David Sidrane
43a6e43a0f
arch/arm/src/stm32f7/stm32_ethernet.c: Add some delays so that ifup() does not hog the CPU.
2019-11-29 17:19:06 -06:00
Dave Marples
f410d9711a
boards/arm/imxrt/imxrt10x0-evk/include/board.h: Set up TRACE clocking correctly. This also reverts 7dcd57aa4a
.
2019-11-29 14:54:08 -06:00
Gregory Nutt
4e277a7f62
sched/signal/sig_dispatch.c: Trivial update to a comment.
2019-11-29 10:01:42 -06:00
Gregory Nutt
81790f2ca8
sched/signal/sig_dispatch.c: Clarify some logic. It is not necessary to test the TCB's TCB_FLAG_SYSCALL if syscalls are not enabled.
2019-11-29 08:11:55 -06:00
Gregory Nutt
16b1c276bd
net/netlink/netlink_conn.c: Fix some really basic errors in the redesign of the asynchronous Netlink response logic.
2019-11-28 16:14:59 -06:00
Gregory Nutt
c4d10de565
Fix a warning found in build testing.
2019-11-28 14:53:17 -06:00
Gregory Nutt
6b66ac0e04
Some minor changes from review of last PR.
2019-11-28 14:45:16 -06:00
Masayuki Ishikawa
7a8e9581ca
Merged in masayuki2009/nuttx.nuttx/hifive1-qemu (pull request #1078 )
...
HiFive1 with qemu
* arch: risc-v: Add include/.gitignore
* arch: risc-v: Add src/.gitignore
* arch: risc-v: Remove uncommon function prototypes in include/irq.h
* arch: risc-v: Add missing symbols and function prototypes in src/common/up_internal.h
* arch: risc-v: Add src/common/up_modifyreg32.c
* arch: risc-v: Enable include Make.dep in src/Makefile
* arch: risc-v: Fix stack coloration in common/up_createstack.c
* arch: risc-v: Add common/up_puts.c
* arch: risc-v: Add common/up_checkstack.c
* arch: rv32im: Move all logics from up_dumpstate.c to up_assert.c
This change is same as other architectures like arm/src/armv7-m
* arch: Select ARCH_HAVE_STACKCHECK for RISC-V in Kconfig
* arch: risc-v: Add SiFive fe310 processor
NOTE: Currently only tested with qemu
* boards: hifive1-revb: Add SiFive hifive1-revb board
NOTE: Currently only tested with qemu
* tools: Add fe310 processor to configure.sh
Approved-by: Alan Carvalho de Assis <acassis@gmail.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-11-28 20:37:24 +00:00
Gregory Nutt
4ae09a3b80
net/netlink: Redesign the logic that handles notifications of when response data is available. Signal handlers are sub-optimal inside the OS (especially after the preceding change which forces the hand). Instead, use the work queue notifiers as is done with all other network notifiers.
2019-11-28 14:20:40 -06:00
Gregory Nutt
69318b1024
Re-implements reverted commit 344f7bc9f6
in a way that should not have the undesired side-effect. include/nuttx/sched.h: Add a bit to the TCB flags to indicat the thread is a user thread in a syscall. sched/nuttx/nxsig_dispatch.c: Delay dispatching to signal handlers if within a system call. In all syscall implementations: Process delayed signal handling when exiting system call.
2019-11-28 12:47:36 -06:00
Gregory Nutt
cbdd590c82
Revert "include/nuttx/sched.h: Add storage for a previous signal mask. arch/: In all syscall implementations, block all signals before dispatching a system call; resotre signal mask when the system call returns."
...
Using the sigprocmask() for this purpose has too many side-effects.
This reverts commit 344f7bc9f6
.
2019-11-28 11:57:54 -06:00
Gregory Nutt
7dcd57aa4a
boars/arm/imxrt/imxrt10x0-evk/include/board.h: Define IMXRT_TRACE_CLK_SELECT with arbitrary value just to get through build testing.
2019-11-28 11:18:42 -06:00