nuttx/arch/arm/include/stm32h5
raiden00pl f15d609069 arch/arm/stm32h5: use common Kconfig symbols
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
2026-08-18 09:34:58 +08:00
..
chip.h arch/arm/stm32h5: use common Kconfig symbols 2026-08-18 09:34:58 +08:00
irq.h arch/arm/stm32h5: use common Kconfig symbols 2026-08-18 09:34:58 +08:00
stm32h5xx_irq.h arch/arm/stm32h5: use common Kconfig symbols 2026-08-18 09:34:58 +08:00