2 *****************************************************************************
4 ** File : at32_flash_f43xG.ld
6 ** Abstract : Linker script for AT32F435/7xG Device with
7 ** 1024KByte FLASH, 384KByte RAM
9 ** Set heap size, stack size and stack location according
10 ** to application requirements.
12 ** Set memory bank area and size if external memory is used.
14 ** Target : Artery Tek AT32
16 ** Environment : Arm gcc toolchain
18 *****************************************************************************
22 FLASH : 0x0800 0000 -- 0x083E FFFF
23 MEM : 0x2000 0000 -- 0x2007 FFFF
30 FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 16K
31 FLASH_CONFIG (r) : ORIGIN = 0x08004000, LENGTH = 16K
32 FLASH1 (rx) : ORIGIN = 0x08008000, LENGTH = 992K
33 SYSTEM_MEMORY (rx) : ORIGIN = 0x1FFF0000, LENGTH = 16K
34 RAM (xrw) : ORIGIN = 0x20000000, LENGTH = _SRAM_SIZE * 1024
35 MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K /* external ram */
38 REGION_ALIAS("STACKRAM", RAM)
39 REGION_ALIAS("VECTAB", RAM)
41 REGION_ALIAS("MOVABLE_FLASH", FLASH1)
43 INCLUDE "at32_flash_f4_split.ld"