walnux/boards
Kyle Wilson ac15155fc9 Enable LPUART functionality for the STM32G4 series.
1. Kconfig - Removed USART1 config option from STM32_STM32G47XX. Not necessary to adding LPUART functionality. 2. stm32_lowput.c - Added extra check from STM32G4 board because that is the only with LPUART functionality. 2. stm32_serial.c - Removed unneeded function (stm32_serial_get_lpuart). Fixed up_putc return bug. Added configuration for DMAMAP_LPUART RX and TX for STM32G4XXX only. The G4 is the only in this family with LPUART and uses a DMAMUX unlike the others.

1. Removed 1WIRE LPUART refereences in Kconfig and stm32_uart.h. There is no support for LPUART currently in stm32_1wire.c. 2. Removed references to LPUART under DMA_V2 ifdefs. STM32G4 uses DMA_V1, and I saw that none of the chips DMA_V2 (F20, F4) have LPUARTs. AFAIK the only chip in the stm32 folder that has LPUART peripherals is the STM32G4.

Removed unnecessary brackets and empty lines

Added lpuartnsh (LPUART NuttShell) config to the nucleo-g474re board configurations. nsh uses USART3 by default. lpuartnsh uses nsh as a template, changes the serial console to LPUART1, and adds the DMA configs to enable DMA for the LPUART.

Added support for using the lpuart prescaler register. Without prescaling the apbclock, 9600 baud is not supported on the G474RE. By utilizing the prescaler, when necessary, we can support nearly any baud rate (300 baud to 30M Mbaud). lowputc defaults to a prescaler of 16 for the lpuart so standard baud rates (9600 to 115200) are supported early in the boot process. Later in stm32_serial.c the ideal prescaler and BRR values are determined.

Added ifdef statements for LPUART code sections not compatible with other chips.

Changed LPUART BRR calcuation to use 64-bit integers.

Feedback from nuttx pull request. Added brackets around single line if/else statements. Reordered lpuartnsh defconfig file.

Fix lpuart brr calculation after attempting to break the calculation into 2 lines.

Removed TAB
2024-10-07 04:14:59 +08:00
..
arm Enable LPUART functionality for the STM32G4 series. 2024-10-07 04:14:59 +08:00
arm64 mm/kasan: Map the generated shadow area to the fixed segment 2024-09-20 21:47:23 +08:00
avr nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
dummy
hc/m9s12 compile: add DEBUG_SYMBOLS_LEVEL allow custom the level 2024-09-27 00:13:07 +08:00
mips nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
misoc/lm32/misoc nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
or1k/mor1kx/or1k drivers: prepare 16550 UART driver to support PCI 2024-09-15 03:37:58 +08:00
renesas task: use get_task_name where possible 2024-10-01 20:38:06 +08:00
risc-v risc-v/espressif: support marking interrupt as running from IRAM 2024-09-30 20:42:00 +02:00
sim/sim/sim boards/sim: update foc test config 2024-10-05 18:45:12 +08:00
sparc nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
tricore/tc3xx/tc397 cmake/tricore/tasking: add cmake build for tasking toolchain 2024-09-25 08:43:28 +08:00
x86/qemu/qemu-i486 Revert "make/archive: Use the full path name when matching or storing names in the archive" 2023-10-27 22:26:18 +08:00
x86_64/intel64/qemu-intel64 arch/x86_64: Reimplement the NuttX32 multiboot1 wrapper. 2024-09-30 15:35:41 +08:00
xtensa 1.xtensa/esp32s3: configure the number of universal management 2024-09-28 11:47:24 +08:00
z16/z16f/z16f2800100zcog Documentation: migrate boards/{z16|z80}/xxx/configs/README.txt 2023-10-28 13:55:22 +08:00
z80 net: Enable ICMP by default if IPv4 is enabled 2024-07-09 17:08:27 +08:00
.gitignore
Board.mk sh:Change expansion path logic 2024-03-04 01:18:45 +08:00
boardctl.c boardctl: add board control api to start slave core 2024-09-16 13:03:33 +08:00
CMakeLists.txt [cmake]: added initial support for MSYS2 2024-08-27 21:36:12 +08:00
dummy.c
Kconfig boards/arm.mps/mps2-an521: add support for mps-521 board 2024-09-30 20:06:52 +08:00
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00