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
Gregory Nutt
344f7bc9f6
include/nuttx/sched.h: Add storage for a previous signal mask. arch/: In all syscall implemenations, block all signals before dispatching a system call; resotre signal mask when the system call returnes.
2019-11-28 10:51:29 -06:00
Beat Küng
fe49dcf622
Merged in bkueng/nuttx/fix_h7_dmamux_defines (pull request #1079 )
...
fix stm32h7x3xx_dmamux.h: add missing underscore to defines
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-11-28 12:23:20 +00:00
Gregory Nutt
d1593bb336
Squashed commit of the following:
...
net/netlink/netlink_sockif.c: At implementation of response available signal handler needed for POLLIN logic.
net/netlink/netlink_sockif.c: Add logic to set up signal handler to receive the response notification.
2019-11-27 21:30:01 -06:00
Gregory Nutt
a8f3c3651a
net/netlink/netlink_conn.c: Use nxsig_queue() instead of nxsig_kill() so that we can pass a reference to the connection structure with the signal.
2019-11-27 19:31:23 -06:00
Xiang Xiao
e1e192fc33
net/: icmp[v6] fix ping[6] complain 'WARNING: Received after timeout'. The root cause is that icmp[v6]_pollsetup monitors ICMP[v6]_NEWDATA, but icmp[v6]_input reports ICMP[v6]_ECHOREPLY. This change lets icmp[v6]_input report report ICMP[v6]_NEWDATA to fix this issue and remove ICMP[v6]_ECHOREPLY to avoid the wrong usage in the future.
2019-11-27 08:09:51 -06:00
Xiang Xiao
250bde034d
net/: icmp[v6]_pollsetup should always return POLLWRNORM if the caller requests it since ICMP[v6] doesn't utilize IOB buffer for sending and always needs to wait for an ICMP[v6]_POLL.
2019-11-27 08:04:14 -06:00
Xiang Xiao
ea666877f2
net/devif/devif_callback.c: Restore cf9f2c56cb
. That restored change plus the following additional commits reolves the issue raised by Valmantas Palikša.
2019-11-27 07:59:52 -06:00
Xiang Xiao
b7b85251cf
fs/mmap/fs_munmap.c: Fix 'warning: variable 'newaddr' set but not used'
2019-11-27 07:51:35 -06:00
kyChu
01cda09aba
Merged in kyChuGit/nuttx (pull request #1077 )
...
STM23L4 LPTIM PWM support with multi-channel
* arch/arm/src/stm32l4/stm32l4_pwm.c:
fixed some bugs
arch/arm/src/stm32l4/stm32l4_pwm.h:
support LPTIM PWM if PWM multi-channel is selected
Channel mode for LPTIM are not available
* arch/arm/src/stm32l4/Kconfig: add new configuration for STM32L4 LPTIM support
* arch/arm/src/stm32l4/stm32l4_pwm.c: fix warning: resetbit may be used uninitialized
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-11-27 13:45:41 +00:00