2019-06-26 05:40:29 +00:00
|
|
|
/*
|
|
|
|
* Linker script for Generic STM32F103RC boards, using the generic bootloader (which takes the lower 8k of memory)
|
|
|
|
*/
|
|
|
|
|
|
|
|
MEMORY
|
|
|
|
{
|
|
|
|
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 48K
|
2020-06-03 02:04:22 +00:00
|
|
|
rom (rx) : ORIGIN = 0x08010000, LENGTH = 256K - 64K
|
2019-06-26 05:40:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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
|