2 *****************************************************************************
4 ** File : stm32_flash_f722.ld
6 ** Abstract : Linker script for STM32F722RETx Device with
7 ** 512KByte FLASH, 256KByte 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 ITCM_RAM (rwx) : ORIGIN = 0x00000000, LENGTH = 16K
31 /*ITCM_FLASH (rx) : ORIGIN = 0x00200000, LENGTH = 16K*/
32 /* config occupies the entire flash sector 1 for the ease of erasure, 16K on F72x */
33 /*ITCM_FLASH_CONFIG (r) : ORIGIN = 0x00204000, LENGTH = 16K*/
34 /*ITCM_FLASH1 (rx) : ORIGIN = 0x00208000, LENGTH = 480K*/
36 FLASH (rx) : ORIGIN = 0x08008000, LENGTH = 16K
37 FLASH_CONFIG (r) : ORIGIN = 0x0800c000, LENGTH = 16K
38 FLASH1 (rx) : ORIGIN = 0x08010000, LENGTH = 448K
40 TCM (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
41 RAM (rwx) : ORIGIN = 0x20010000, LENGTH = 192K
42 MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
45 REGION_ALIAS("STACKRAM", TCM)
46 REGION_ALIAS("FASTRAM", TCM)
48 __firmware_start = ORIGIN(FLASH);
50 INCLUDE "stm32_flash_f7_split.ld"