2 *****************************************************************************
4 ** File : stm32_flash_f745.ld
6 ** Abstract : Linker script for STM32F745VGTx Device with
7 ** 1024KByte FLASH, 320KByte RAM
9 *****************************************************************************
12 /* Stack & Heap sizes */
14 _Min_Stack_Size = 0x1800;
20 0x00000000 to 0x00003FFF 16K ITCM RAM,
21 0x08000000 to 0x080FFFFF 1024K full flash,
22 0x08000000 to 0x08007FFF 32K isr vector, startup code,
23 0x08008000 to 0x0800FFFF 32K config, // FLASH_Sector_1
24 0x08010000 to 0x080FFFFF 960K firmware,
27 /* Specify the memory areas */
30 ITCM_RAM (rx) : ORIGIN = 0x00000000, LENGTH = 16K
31 ITCM_FLASH (rx) : ORIGIN = 0x00200000, LENGTH = 32K
32 /* config occupies the entire flash sector 1 for the ease of erasure, 32K on F74x */
33 ITCM_FLASH_CONFIG (r) : ORIGIN = 0x00208000, LENGTH = 32K
34 ITCM_FLASH1 (rx) : ORIGIN = 0x00210000, LENGTH = 960K
36 FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 32K
37 FLASH_CONFIG (r) : ORIGIN = 0x08008000, LENGTH = 32K
38 FLASH1 (rx) : ORIGIN = 0x08010000, LENGTH = 960K
40 TCM (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
41 RAM (rwx) : ORIGIN = 0x20010000, LENGTH = 256K
42 MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
44 /* note CCM could be used for stack */
45 REGION_ALIAS("STACKRAM", TCM)
46 REGION_ALIAS("FASTRAM", TCM)
48 INCLUDE "stm32_flash_f7_split.ld"