You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
492 B
Plaintext
19 lines
492 B
Plaintext
6 years ago
|
/*
|
||
|
* Linker script for Generic STM32F103RC boards, using the generic bootloader (which takes the lower 8k of memory)
|
||
|
*/
|
||
|
|
||
|
MEMORY
|
||
|
{
|
||
|
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 48K
|
||
5 years ago
|
rom (rx) : ORIGIN = 0x08010000, LENGTH = 256K - 40K - 4K
|
||
6 years ago
|
}
|
||
|
|
||
|
/* 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
|