This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit b114d8f01ccc14bd7dc3abfcf42b688c71a51640 Author: raiden00pl <[email protected]> AuthorDate: Mon Oct 19 14:32:50 2026 +0200 Documentation: default Nucleo console is the ST-LINK virtual COM port The USART wired to the ST-LINK virtual COM port is the default console and its pins are always defined in board.h. Signed-off-by: raiden00pl <[email protected]> Assisted-by: Claude Code --- Documentation/guides/chip-specific/stm32_nucleo.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/guides/chip-specific/stm32_nucleo.rst b/Documentation/guides/chip-specific/stm32_nucleo.rst index d6fcf439c6e..635ca332b52 100644 --- a/Documentation/guides/chip-specific/stm32_nucleo.rst +++ b/Documentation/guides/chip-specific/stm32_nucleo.rst @@ -9,6 +9,18 @@ This page collects the rules that all STM32 Nucleo boards in NuttX follow. It starts with the common board initialization and grows as more of the board logic becomes shared. +Serial console +============== + +The default console of every Nucleo board is the USART wired to the +ST-LINK virtual COM port, so a board works over its USB cable without +any extra wiring. The pins of that USART are always defined in the +board ``board.h``, not only when a board Kconfig console choice selects +them, so a configuration that bypasses the board Kconfig (for example a +custom board build pointing at the board directory) only needs to +enable the USART and select it as the console. Other console wirings +(Arduino or Morpho headers) stay optional choices. + Common board initialization ===========================
