2 *****************************************************************************
4 ** File : stm32_flash_f765.ld
6 ** Abstract : Linker script for STM32F765xITx Device with
7 ** 2048KByte FLASH, 512KByte RAM
9 *****************************************************************************
12 /* Stack & Heap sizes */
14 _Min_Stack_Size = 0x1800;
20 0x00000000 to 0x00003FFF 16K TCM RAM,
22 0x08000000 to 0x081FFFFF 2048K full flash,
23 0x08000000 to 0x08007FFF 32K isr vector, startup code,
24 0x08008000 to 0x0800FFFF 32K config,
25 0x08010000 to 0x081FFFFF 1984K firmware,
28 /* Specify the memory areas */
31 ITCM_RAM (rx) : ORIGIN = 0x00000000, LENGTH = 16K
33 ITCM_FLASH (rx) : ORIGIN = 0x00200000, LENGTH = 32K
34 ITCM_FLASH_CFG (r) : ORIGIN = 0x00208000, LENGTH = 32K
35 ITCM_FLASH1 (rx) : ORIGIN = 0x00210000, LENGTH = 1984K
37 AXIM_FLASH (rx) : ORIGIN = 0x08008000, LENGTH = 32K
38 AXIM_FLASH_CFG (r) : ORIGIN = 0x08010000, LENGTH = 32K
39 AXIM_FLASH1 (rx) : ORIGIN = 0x08018000, LENGTH = 1984K
41 DTCM_RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
42 SRAM1 (rwx) : ORIGIN = 0x20020000, LENGTH = 368K
43 SRAM2 (rwx) : ORIGIN = 0x2007C000, LENGTH = 16K
44 MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
47 REGION_ALIAS("FLASH", AXIM_FLASH)
48 REGION_ALIAS("FLASH_CONFIG", AXIM_FLASH_CFG)
49 REGION_ALIAS("FLASH1", AXIM_FLASH1)
51 REGION_ALIAS("STACKRAM", DTCM_RAM)
52 REGION_ALIAS("FASTRAM", DTCM_RAM)
53 REGION_ALIAS("RAM", SRAM1)
55 __firmware_start = ORIGIN(AXIM_FLASH);
57 INCLUDE "stm32_flash_f7_split.ld"