aboutsummaryrefslogtreecommitdiff
path: root/buildroot/share/PlatformIO/ldscripts/chitu_f103.ld
blob: 0938e8e5e94b2bdcd603fa6d3112aeb73c5de7a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
MEMORY
{
  ram (rwx) : ORIGIN = 0x20000000, LENGTH = 60K
  rom (rx)  : ORIGIN = 0x08008800, LENGTH = 512K - 34K
}

/* Provide memory region aliases for common.inc */
REGION_ALIAS("REGION_TEXT", rom);
REGION_ALIAS("REGION_DATA", ram);
REGION_ALIAS("REGION_BSS", ram);
REGION_ALIAS("REGION_RODATA", rom);

/* Let common.inc handle the real work. */
INCLUDE common.inc