Guillherme Amaral
eeed40aa0c
arch/arm/src/stm32f0l0g0/ and boards/arm/stm32f0l0g0/nucleo-g070rb/include/board.h: Add I2C pinmap. In Kconfig select I2C2 for this part. Update I2C pin definitions in board.h.
2019-12-20 13:02:13 -06:00
Masayuki Ishikawa
15f28896a0
Merged in masayuki2009/nuttx.nuttx/fix_fe310_signal (pull request #1099 )
...
Fix fe310 signal handling
* arch: fe310: Disable all interrupts in mie at __start
* arch: fe310: Fix up_irq_enable() to set external interrupt only
* arch: fe310: Fix up_schedule_sigaction() to save REG_INT_CTX
* boards: hifive1-revb: Adjust stack size to reduce runtime memory
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-20 13:23:42 +00:00
raiden00pl
d80d6b8774
Merged in raiden00/nuttx_nrf52 (pull request #1098 )
...
nrf52 updates
arch/arm/nrf52: add more options to Kconfig
arch/arm/nrf52: cosmetics changes to some files
arch/arm/nrf52: nfct, radio, twi, spi registers definitions
arch/arm/nrf52: fix warnings in nrf52_gpio.c
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-19 15:40:56 +00:00
Masayuki Ishikawa
466ab56c10
Merged in masayuki2009/nuttx.nuttx/fe310_gpio (pull request #1097 )
...
fe310 gpio
* arch: risc-v: Add arch/risc-v/src/common/up_mdelay.c
* arch: risc-v: Add arch/risc-v/src/common/up_udelay.c
* arch: fe310: Add #include <stdint.h> to fe310_start.c
* arch: risc-v: Add up_ack_irq() definition to commpn/up_internal.h
* arch: fe310: Add FE310 GPIO driver
* boards: hifive-revb: Add compiler optimization
* boards: hifive1-revb: Add auto leds related files.
* arch: fe310: Add CPU activity led to fe310_idle.c
* boards: hifive-revb: Add a button
NOTE: still having a trouble in signal handling.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-19 04:59:30 +00:00
Gregory Nutt
e7c9c89985
Trivial updates to files modified in last PR based on results of tools/nxstyle.
2019-12-16 13:13:04 -06:00
raiden00pl
a0429bcb20
Merged in raiden00/nuttx_nrf52 (pull request #1096 )
...
nrf52 updates
board/arm/nrf52/nrf52832-dk: use the on-board virtual COM pins as default UART0 configuration
board/arm/nrf52: initial support for the nrf52840-dk board
board/arm/nrf52: initial support for the nrf52840-dk dongle board
arch/arm/src/nrf52: add support for port 1 GPIO
arch/arm/src/nrf52: initial support for UART1
arch/arm/src/nrf52: add UICR definitions
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-16 18:35:45 +00:00
Valmantas Palikša
bc7566a83f
arch/arm/include/armv7-m/syscall.h: ARM EABI specifies that the stack should be aligned by 8 on function calls, inside the function is not required to be aligned by 8. Since these functions call svc, compiler doesn't know that the svc is a function, therefore it does not do any stack management. This change pushes an even number of args to the stack and maintains an 8 byte alignment. I've checked the assembly and it doesn't cause any more overhead that the hand written assembly.
2019-12-16 09:10:08 -06:00
Xiang Xiao
68b0ba88af
arch/sim/src/sim/up_framebuffer.c: Replace all _info/_err with ginfo/gerr.
2019-12-16 09:03:05 -06:00
Xiang Xiao
3a5e2b7ce7
arch/sim/src/: Simulator restore the console even error handler call host exit directly.
2019-12-16 09:01:25 -06:00
Xiang Xiao
6c362c8521
arch/sim/src/sim/: Remove unnecessary initialization log from simulator initialization.
2019-12-16 08:59:28 -06:00
Gregory Nutt
6bff1f4df4
arch/arm/include/samd2l2/sam_adc.h: I was wrong... this header file does belong in the samd2l2 include directory. It contains IOCTL definitions that are needed by applications. Usage of a chip-specific header file is, however, not really a good portable design because it requires that the application know that it is running on a specific chip. But still, if we are going to do that, the include directory is where the header file belongs. My apologies for the bad judgement.
2019-12-16 03:53:05 -06:00
Alan Carvalho de Assis
787128930f
arch/arm/src/samd2l2 and boards/arm/samd2l2/arduino-m0: Add support to SAMD2L ADC driver and board support to Arduino M0.
2019-12-15 17:36:59 -06:00
Petro Karashchenko
871197b4ec
arch/arm/src/am335x/ and boards/arm/am335x/beaglebone-black/: Initial CAN support for the BBB.
2019-12-15 17:12:54 -06:00
Petro Karashchenko
ca4e6077e2
arch/arm/src/am335x/am335x_i2c.c: Improvements to AM335x I2C.
2019-12-15 17:02:59 -06:00
Gregory Nutt
a4a23ef584
arch/sim/src/sim/up_hostfs.c, fs/hostfs/hostfs_rpmsg.c, include/nuttx/fs/hostfs.h: Sync nuttx_stat_s consistent with standard struct. Standard struct stat layout changed with commit ea577f1ddd31b3f67405cbb2a57806c47dd4dd63.
2019-12-13 08:35:00 -06:00
David Sidrane
2cbcb8fd00
arch/arm/src/imxrt/imxrt_clockconfig.c and board.h: Allow clock setting for SPI and I2C from board.h.
2019-12-12 08:33:05 -06:00
David Sidrane
42dfd18d7c
arch/arm/src/imxrt/imxrt_lpspi.c: Fixed race on register setting. The ouput frequency was not being initialized correctly. The value of LPSPI_TCR_PRESCALE was getting set to 7. Making the setting atomic fixed the race. I suppose a DSB() could have also fixed it.
2019-12-12 08:31:24 -06:00
David Sidrane
587dcaa6e6
arch/arm/src/imxrt/imxrt_lpspi.c: Remove hack setting LPSPI1 daisy irrespective of pin config. I assume this hack pre dated the addition of the dasiy chain setting. It was forcing LPSPI1 pins to read from selection 1 irrespective of pin config. The correct input selection is done in imxrt_config_gpio.
2019-12-12 08:29:08 -06:00
David Sidrane
3d4eb32e48
arch/arm/src/imxrt/imxrt_lpi2c.c: Added configurations to fine tune LPI2C Timeouts.
2019-12-12 08:27:02 -06:00
Nathan Hartman
9655730ef8
Fix various typos and spelling errors.
2019-12-12 07:41:51 -06:00
Petro Karashchenko
3737aa83fa
arch/arm/src/am335x/am335x_i2c.c: AM225x I2C driver now works in both polling and interrupt modes.
2019-12-12 07:39:36 -06:00
Juha Niskanen
c8268cbfcf
Merged in juniskane/nuttx-4/Juha-Niskanen/remove-reference-to-nonexistent-config-m-1575888266268 (pull request #1093 )
...
Remove reference to nonexistent config macro. stm32l4_spi.h edited online with Bitbucket
stm32l4_spi.h edited online with Bitbucket
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-11 12:06:03 +00:00
Juha Niskanen
50768ac7a6
Merged in juniskane/nuttx-3/Juha-Niskanen/kconfig-edited-online-with-bitbucket-1575887906303 (pull request #1092 )
...
Kconfig edited online with Bitbucket
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-11 12:04:20 +00:00
Masayuki Ishikawa
0eb9bfa49d
Merged in masayuki2009/nuttx.nuttx/fe310_with_pll (pull request #1094 )
...
fe310 with pll
* arch: fe310: Introduce CONFIG_ARCH_CHIP_FE310_QEMU
* boards: hifive1-revb: Introduce CONFIG_ARCH_CHIP_FE310_QEMU
* arch: fe310: Add support for PLL
* boards: hifive1-revb: Increase uart0 tx buff size and add getprime app
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-11 12:01:53 +00:00
Petro Karashchenko
813902cf87
arch/arm/src/am335x and boards/arm/am335x/beaglebone-black: Add I2C support for AM335X.
2019-12-10 20:22:25 -06:00
Gregory Nutt
425b1c737c
Fix a problem I introduced in my recent review.
2019-12-10 18:04:56 -06:00
David Sidrane
2e71e0632f
arch/arm/src/imxrt/imxrt_usdhc.c: IMXRT106x USDHC: Support regular GPIO for CD and inversion.
2019-12-10 17:58:08 -06:00
Petro Karashchenko
2f00eefa5d
arch/arm/src/am335x: Adds AM335x Clock Configuration.
2019-12-10 17:55:08 -06:00
Ouss4
7dcf8dde7c
arch/xtensa/src/esp32/esp32_start.c: A comma was missing in g_idlestack attributes.
2019-12-10 13:42:58 -06:00
Ouss4
47129b36bd
arch/mips/*: Run nxstyle on the arch/mips directory.
2019-12-08 08:09:11 -06:00
Masayuki Ishikawa
2cde7dcc8d
Merged in masayuki2009/nuttx.nuttx/sparkfun_redv (pull request #1091 )
...
Sparkfun RED-V Things Plus
* board: hifive1-revb: Update README-qemu.txt
* arch: fe310: Works with SparkFun RED-V Things Plus
Should work with HiFive1 Rev.B but not tested yet.
* boards: hifive1-revb: Works with SparkFun RED-V Things Plus
Should work with HiFive1 Rev.B but not tested yet.
Approved-by: Alan Carvalho de Assis <acassis@gmail.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-08 12:42:48 +00:00
Gregory Nutt
cb288fdfe2
arch/arm/src/stm32f7/stm32_serial.c: Fix a new warning found in build testing.
2019-12-07 13:14:50 -06:00
David Sidrane
db6fe28fa6
Merged in david_s5/nuttx/master_imxrt_cap (pull request #1089 )
...
imxrt106x:pinout add ALT 8 GPIO_GPT1_CAPTURE[1|2]
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-05 22:32:43 +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
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
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
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
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