mirror of
https://github.com/apache/nuttx.git
synced 2026-08-16 09:53:23 +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>
|
||
|---|---|---|
| .. | ||
| arm-01.dat | ||
| arm-02.dat | ||
| arm-03.dat | ||
| arm-04.dat | ||
| arm-05.dat | ||
| arm-06.dat | ||
| arm-07.dat | ||
| arm-08.dat | ||
| arm-09.dat | ||
| arm-10.dat | ||
| arm-11.dat | ||
| arm-12.dat | ||
| arm-13.dat | ||
| arm-14.dat | ||
| arm64-01.dat | ||
| codechecker.dat | ||
| macos.dat | ||
| msys2.dat | ||
| other.dat | ||
| risc-v-01.dat | ||
| risc-v-02.dat | ||
| risc-v-03.dat | ||
| risc-v-04.dat | ||
| risc-v-05.dat | ||
| risc-v-06.dat | ||
| risc-v-07.dat | ||
| sim-01.dat | ||
| sim-02.dat | ||
| sim-03.dat | ||
| windows.dat | ||
| x86_64-01.dat | ||
| xtensa-00.dat | ||
| xtensa-01.dat | ||
| xtensa-02.dat | ||
| xtensa-03.dat | ||