2020-06-01 19:25:13 -04:00
|
|
|
/*
|
2020-05-31 03:12:29 -04:00
|
|
|
* Linker script for Generic STM32F103RC boards.
|
2020-06-01 19:25:13 -04:00
|
|
|
*/
|
|
|
|
MEMORY
|
|
|
|
{
|
|
|
|
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 48K
|
|
|
|
rom (rx) : ORIGIN = 0x08000000, LENGTH = 256K
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 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
|