2 *****************************************************************************
4 ** File : stm32_flash.ld
6 ** Abstract : Linker script for STM32F303xD/E Device
11 *****************************************************************************
14 /* Specify the memory areas. */
17 FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 508K
18 FLASH_CONFIG (r) : ORIGIN = 0x0807F000, LENGTH = 4K
20 RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
21 CCM (xrw) : ORIGIN = 0x10000000, LENGTH = 16K
22 MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
25 REGION_ALIAS("STACKRAM", CCM)
26 REGION_ALIAS("FASTRAM", CCM)
28 INCLUDE "stm32_flash.ld"