nuttx/Documentation
anjiahao 718ae3d2c6 stm32l5/nucleo-l552ze: enable LPUART1 console on ST-Link VCP
Three fixes to make LPUART1 work as NSH console on Nucleo-L552ZE-Q:

1. stm32l5_lowputc: add LPUART-specific BRR formula (256 * fCK / baud)
   instead of reusing the standard USART divisor calculation.

2. stm32_boot: enable VDDIO2 and reconfigure LPUART1 GPIOs (PG7/PG8)
   in board_initialize. The low-level setup runs before VDDIO2 is
   enabled, so GPIOG writes silently fail.

3. stm32l5_serial: fix LPUART1 apbclock (PCLK1 not PCLK2), add
   LPUART BRR branch in setformat, cast to uint64_t to prevent
   32-bit overflow in (fCK << 8).

Also switch nsh defconfig from USART3 to LPUART1, add GPIO_LPUART1
pin definitions in board.h, and update board documentation.

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2026-03-11 19:24:01 +08:00
..
_extensions Documentation: port warnings_filter Sphinx extension from Zephyr 2023-11-28 09:18:29 -08:00
_static
_templates
applications docs/examples/sx127x_demo: Expand SX127X demo documentation 2026-03-08 16:08:39 -03:00
components docs: Add documentation for TIOCSERGSTRUCT ioctl in serial driver 2026-03-11 00:30:39 -04:00
contributing docs/documentation: Mention installation of PlantUML 2026-03-02 14:45:19 -03:00
debugging Documentation: Add gprof profiling tool documentation and support. 2026-02-04 03:03:45 +08:00
faq DOC: Add how to get application on NSH 2024-06-06 02:39:56 +08:00
guides Documentation/guides/customboards: add example minimal defconfig file 2026-02-28 20:59:01 -05:00
implementation sched/spinlock: Update the information of critmon in docu. 2026-01-27 21:59:14 +08:00
introduction WIP: Documentation: replace first person perspectives 2025-05-19 20:21:33 +08:00
logos style: fix typos 2025-04-30 13:45:46 +08:00
platforms stm32l5/nucleo-l552ze: enable LPUART1 console on ST-Link VCP 2026-03-11 19:24:01 +08:00
quickstart Kconfig: Add ALLOW_CUSTOM_PERMISSIVE_COMPONENTS option 2026-01-20 02:15:19 +08:00
reference Documentation/reference/os/time_clock: fix indentation in HR Timer description 2026-02-28 20:59:01 -05:00
ReleaseNotes nuttx/sched: rename nxsched_timer_expiration 2026-01-12 16:20:42 +08:00
standards Documentation/posix.rst: fix typos 2025-08-22 20:50:13 +08:00
testing docs/testing/citests: Expand CI testing documentation 2026-03-05 18:12:54 +01:00
.gitignore docs/tags: Introduce tagging feature to the documentation. 2025-04-29 09:18:25 +02:00
conf.py docs/plantuml: Add PlantUML support to Documentation build 2026-02-15 08:47:23 +01:00
glossary.rst
index.rst docs/security: Add Security section to the documentation. 2026-01-06 02:17:20 +08:00
known-warnings.txt fs: Add VFS docs 2024-02-20 18:28:09 -08:00
legacy_README.md Documentation: fix spelling 2025-05-15 11:33:41 +08:00
make.bat
Makefile doc: Improve sphinx build time + add autobuild help info. 2026-01-27 09:50:55 +08:00
Pipfile docs/plantuml: Add PlantUML support to Documentation build 2026-02-15 08:47:23 +01:00
Pipfile.lock docs/plantuml: Add PlantUML support to Documentation build 2026-02-15 08:47:23 +01:00
security.rst docs/security: Add Security section to the documentation. 2026-01-06 02:17:20 +08:00
substitutions.rst