mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 11:49:51 +03:00
STM32 persistent MVP, cross-compiled & binaries
This commit is contained in:
17
ldscripts/stm32f103rb_bootloader.ld
Normal file
17
ldscripts/stm32f103rb_bootloader.ld
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Linker script for Generic STM32F103RB boards, using the generic bootloader (which takes the lower 8k of memory)
|
||||
*/
|
||||
MEMORY
|
||||
{
|
||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
|
||||
rom (rx) : ORIGIN = 0x08002000, LENGTH = 120K
|
||||
}
|
||||
|
||||
/* 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 ldscripts/common.inc
|
||||
Reference in New Issue
Block a user