mirror of
https://github.com/apache/nuttx.git
synced 2026-08-07 05:27:17 +00:00
Introduce minimal chip support for the STMicro STM32N6 family
(Cortex-M55, ARMv8.1-M with TrustZone and FPU), sufficient to bring
up an NSH console over USART1.
Scope (deliberately minimal first drop):
- Chip selector ARCH_CHIP_STM32N6 wired into arch/arm/Kconfig and
chip-name mapping ("stm32n6").
- Sub-Kconfig under arch/arm/src/stm32n6 with the STM32N657X0 chip
selector and a single user-selectable USART (USART1).
- Boot path: stm32_start with a naked dispatcher that clears the
boot-ROM MSPLIM/PSPLIM stack limits before any compiler-emitted
prologue, then runs vector relocation and SRAM-only heap init.
The chip runs entirely in the Secure state; SAU is left in its
reset configuration.
- PLL1-based clock tree fed from HSI64 targeting 200 MHz CPU, with
USART1 kernel-clock routed to HSI for a predictable BRR that is
independent of any later clock change.
- Low-level USART driver with full serial framework support.
stm32_serial.c is adapted from arch/arm/src/stm32h5/stm32_serial.c
(sibling ARMv8-M Mainline port with the same USART IP), stripped
of DMA-RX, LPUART, the per-USART2..5 plumbing, RS-485 driver-enable,
TIOCSINVERT/SWAP and HALFDUPLEX paths.
- SysTick system timer.
- GPIO, PWR and RCC helpers.
TrustZone, MPU, I/D-cache and Helium (MVE) are left disabled to
minimise bring-up surface; these will be added in follow-up patches
alongside the drivers that need them.
Signed-off-by: ImBonkers <samuelnlinden@pm.me>
14 lines
383 B
Text
14 lines
383 B
Text
/arm/stm32l*,CONFIG_ARM_TOOLCHAIN_GNU_EABI
|
|
/arm/stm32n*,CONFIG_ARM_TOOLCHAIN_GNU_EABI
|
|
/arm/stm32u*,CONFIG_ARM_TOOLCHAIN_GNU_EABI
|
|
/arm/stm32w*,CONFIG_ARM_TOOLCHAIN_GNU_EABI
|
|
|
|
/arm/str71x,CONFIG_ARM_TOOLCHAIN_GNU_EABI
|
|
|
|
/arm/[t-z]*,CONFIG_ARM_TOOLCHAIN_GNU_EABI
|
|
-eagle100:nxflat
|
|
-eagle100:thttpd
|
|
-launchxl-cc1310:nsh
|
|
-lm3s6965-ek:qemu-nxflat
|
|
-tms570ls31x-usb-kit:nsh
|
|
-tlsr8278adk80d:nsh
|