mirror of
https://github.com/apache/nuttx.git
synced 2026-10-11 00:00:24 +00:00
The headers test CONFIG_STM32H5_* names that no Kconfig defines (the STM32H5xXXX families, FLASHEN, OTFDEC1EN, DCACHE, STM32H2X/H3X/H7X), so those branches are dead code. Use the common CONFIG_STM32_* symbols. Fix what this exposes: derive the SRAM2/SRAM3 bases from the family SRAM sizes, since the boot ECC init would otherwise write past the end of RAM on smaller parts, correct the H52x/H53x SPI count to SPI1-4 and drop the STM32_STM32H5X3XX select, which names no symbol. Signed-off-by: raiden00pl <raiden00@railab.me> Assisted-by: Claude Code |
||
|---|---|---|
| .. | ||
| chip.h | ||
| irq.h | ||
| stm32h5xx_irq.h | ||