stm32_flash_f103_64k.ld 634 Bytes
Newer Older
1
2
3
4
5
/*
*****************************************************************************
**
**  File        : stm32_flash.ld
**
6
7
**  Abstract    : Linker script for STM32F103C8 Device with
**                64KByte FLASH, 20KByte RAM
8
9
10
11
**
*****************************************************************************
*/

12
/* Specify the memory areas. Flash is limited for last 2K for configuration storage */
13
14
MEMORY
{
15
  FLASH (rx)      : ORIGIN = 0x08000000, LENGTH = 62K /* last 2kb used for config storage */
16
17
18
19
  RAM (xrw)       : ORIGIN = 0x20000000, LENGTH = 20K
  MEMORY_B1 (rx)  : ORIGIN = 0x60000000, LENGTH = 0K
}

20
INCLUDE "stm32_flash.ld"