nuttx/arch/arm/src/common
raiden00pl f093edb26c arch/arm/stm32h5: Use common Cortex-M33 USART support
Select STM32_HAVE_IP_USART_M33_V3 and drop the family serial, USART
header, and low-level console sources. Provide the USART clock and RCC
gate definitions for all thirteen ports in stm32_rcc_m33.h and the RX
DMA request numbers in the family DMA signal map. Include the family
DMA header from stm32.h so the common driver reaches the DMA API.

Extend the common Cortex-M33 v3 USART support with the STM32H5
features: USART6, UART7-9, USART10-11, and UART12 ports, the LPUART
prescaler for low baud rates, RX DMA through the family-provided
request number, wakeup-from-stop CR3 definitions, and per-port
descriptors gated by the family peripheral options.

Enable the USART FIFO for every Cortex-M33 family. The low-level
console uses the per-port kernel clock and RCC gate, which corrects
the UART9 and UART12 enable register. The RX DMA callback delivers
data only while reception is enabled.

The non-BSD break ioctl now uses the send-break request register
instead of a CR1 bit this USART IP does not have. Correct the UART12
gates and the RXDMA and console undef lists in the USART driver
header. Raise STM32_NUSART to six on the H56x and H57x parts so UART12
fits the device table, add the missing UART9 buffers, write LPUART CR1
only on the USART path, and build device names with snprintf so minors
above nine are valid.

Keep the termios flow control fields writable so TCSETS compiles with
input flow control, let up_putc emit a bare newline since syslog adds
the carriage return, and make the unconfigure-on-close options
available to every Cortex-M33 family.

Signed-off-by: raiden00pl <raiden00@railab.me>
Assisted-by: Claude Code
2026-10-08 15:53:21 -03:00
..
ameba arch/arm/rtl8730e: add I2C master driver support 2026-10-08 15:49:34 -03:00
gnu arch/atomic: remove up_testset in spinlock 2026-09-08 08:58:54 +08:00
iar arch/atomic: remove up_testset in spinlock 2026-09-08 08:58:54 +08:00
stm32 arch/arm/stm32h5: Use common Cortex-M33 USART support 2026-10-08 15:53:21 -03:00
arm_allocateheap.c
arm_backtrace_fp.c
arm_backtrace_sp.c
arm_backtrace_unwind.c
arm_checkstack.c
arm_createstack.c
arm_exit.c
arm_fork.c arch/arm: Build fork() children from the caller's syscall frame on armv7-a. 2026-08-10 08:57:30 -03:00
arm_fork.h
arm_getintstack.c
arm_hostfs.c fs/hostfs: fix pre-existing nxstyle issues in touched files 2026-08-28 18:35:37 +08:00
arm_idle.c
arm_initialize.c
arm_internal.h
arm_lowputs.c
arm_modifyreg.c
arm_nputs.c
arm_poweroff.c
arm_pthread_start.c
arm_registerdump.c
arm_releasestack.c
arm_semi_syslog.c
arm_signal_dispatch.c
arm_stackframe.c
arm_task_start.c
arm_tls.c
arm_usestack.c
CMakeLists.txt arch/atomic: remove up_testset in spinlock 2026-09-08 08:58:54 +08:00
crt0.c arch/arm: Call FDPIC constructors with the module's own data base. 2026-09-30 13:40:02 -03:00
hwcap.h
Make.defs arch/atomic: remove up_testset in spinlock 2026-09-08 08:58:54 +08:00
README_lwl_console.txt
Toolchain.defs arch/arm: Keep GCC from making tail calls in an FDPIC module. 2026-10-07 11:45:09 -03:00