2 *****************************************************************************
4 ** File : stm32_flash_f411.ld
6 ** Abstract : Linker script for STM32F11 Device with
7 ** 512KByte FLASH, 128KByte RAM
9 *****************************************************************************
12 /* Stack & Heap sizes */
14 _Min_Stack_Size = 0x1800;
20 0x08000000 to 0x0807FFFF 512K full flash,
21 0x08000000 to 0x08003FFF 16K isr vector, startup code,
22 0x08004000 to 0x08007FFF 16K config, // FLASH_Sector_1
23 0x08008000 to 0x0807FFFF 480K firmware,
26 /* Specify the memory areas */
29 FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 16K
30 FLASH_CONFIG (r) : ORIGIN = 0x08004000, LENGTH = 16K
31 FLASH1 (rx) : ORIGIN = 0x08008000, LENGTH = 480K
33 RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
34 MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
37 REGION_ALIAS("STACKRAM", RAM)
38 REGION_ALIAS("FASTRAM", RAM)
40 INCLUDE "stm32_flash_split.ld"