2 *****************************************************************************
4 ** File : stm32_flash_f446.ld
6 ** Abstract : Linker script for STM32F446 Device with
7 ** 512KByte FLASH, 128KByte RAM
9 *****************************************************************************
13 0x08000000 to 0x0807FFFF 512K full flash,
14 0x08000000 to 0x08003FFF 16K isr vector, startup code,
15 0x08004000 to 0x08007FFF 16K config, // FLASH_Sector_1
16 0x08008000 to 0x0807FFFF 480K firmware,
19 /* Specify the memory areas */
22 FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 10K
23 FLASH_CUSTOM_DEFAULTS (r) : ORIGIN = 0x08002800, LENGTH = 6K
24 FLASH_CONFIG (r) : ORIGIN = 0x08004000, LENGTH = 16K
25 FLASH1 (rx) : ORIGIN = 0x08008000, LENGTH = 480K
27 SYSTEM_MEMORY (rx): ORIGIN = 0x1FFF0000, LENGTH = 29K
29 RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
30 MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
33 REGION_ALIAS("STACKRAM", RAM)
34 REGION_ALIAS("FASTRAM", RAM)
35 REGION_ALIAS("VECTAB", RAM)
37 /* Put various bits and bobs of data into the free space after the vector table in sector 0 to save flash space. */
39 REGION_ALIAS("MOVABLE_FLASH", FLASH)
41 INCLUDE "stm32_flash_f4_split.ld"