2 *****************************************************************************
4 ** File : stm32_flash.ld
6 ** Abstract : Linker script for STM32F103C8 Device with
7 ** 64KByte FLASH, 20KByte RAM
9 *****************************************************************************
12 /* Specify the memory areas. */
15 FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 62K
16 FLASH_CONFIG (r) : ORIGIN = 0x0800F800, LENGTH = 2K
18 RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 20K
19 MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
22 REGION_ALIAS("STACKRAM", RAM)
23 REGION_ALIAS("FASTRAM", RAM)
25 INCLUDE "stm32_flash.ld"