mirror of
https://github.com/micropython/micropython.git
synced 2025-09-04 17:00:30 +02:00
This commit adds preliminary support for ST's new STM32N6xx MCUs. Supported features of this MCU so far are: - basic clock tree initialisation, running at 800MHz - fully working USB - XSPI in memory-mapped mode - machine.Pin - machine.UART - RTC and deepsleep support - SD card - filesystem - ROMFS - WiFi and BLE via cyw43-driver (SDIO backend) Note that the N6 does not have internal flash, and has some tricky boot sequence, so using a custom bootloader (mboot) is almost a necessity. Signed-off-by: Damien George <damien@micropython.org>
23 lines
607 B
Plaintext
23 lines
607 B
Plaintext
/* This linker script fragment is intended to be included in SECTIONS. */
|
|
|
|
/* The program code and other data goes into FLASH */
|
|
.text :
|
|
{
|
|
. = ALIGN(4);
|
|
*(.text*) /* .text* sections (code) */
|
|
*(.rodata*) /* .rodata* sections (constants, strings, etc.) */
|
|
/* *(.glue_7) */ /* glue arm to thumb code */
|
|
/* *(.glue_7t) */ /* glue thumb to arm code */
|
|
|
|
. = ALIGN(4);
|
|
_etext = .; /* define a global symbol at end of code */
|
|
} >FLASH_COMMON
|
|
|
|
/* Secure Gateway stubs */
|
|
.gnu.sgstubs :
|
|
{
|
|
. = ALIGN(4);
|
|
*(.gnu.sgstubs*)
|
|
. = ALIGN(4);
|
|
} >FLASH_COMMON
|