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 |
||
|---|---|---|
| .github | ||
| arch | ||
| audio | ||
| binfmt | ||
| boards | ||
| cmake | ||
| crypto | ||
| Documentation | ||
| drivers | ||
| dummy | ||
| fs | ||
| graphics | ||
| include | ||
| libs | ||
| mm | ||
| net | ||
| openamp | ||
| pass1 | ||
| sched | ||
| syscall | ||
| tools | ||
| video | ||
| wireless | ||
| .asf.yaml | ||
| .codespell-ignore-lines | ||
| .codespellrc | ||
| .editorconfig | ||
| .gitignore | ||
| .gitmessage | ||
| .mcp.json | ||
| .pre-commit-config.yaml | ||
| .yamllint | ||
| AUTHORS | ||
| CMakeLists.txt | ||
| CONTRIBUTING.md | ||
| INVIOLABLES.md | ||
| Kconfig | ||
| LICENSE | ||
| Makefile | ||
| NOTICE | ||
| README.md | ||
| ReleaseNotes | ||
Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).
For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.
Getting Started
First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.
Documentation
You can find the current NuttX documentation on the Documentation Page.
Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.
The old NuttX documentation is still available in the Apache wiki.
Supported Boards
NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.
Contributing
If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.
License
The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.