diff options
author | Friedrich Beckmann <friedrich.beckmann@gmx.de> | 2025-05-31 12:22:36 +0200 |
---|---|---|
committer | Friedrich Beckmann <friedrich.beckmann@gmx.de> | 2025-05-31 12:22:36 +0200 |
commit | 80909cdb533f99fd3823de80fe6255c01eeccc50 (patch) | |
tree | b895d0aa2b12ae02ec7b5936887450262ccca503 /memory.x |
first blinky working
Diffstat (limited to 'memory.x')
-rw-r--r-- | memory.x | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/memory.x b/memory.x new file mode 100644 index 0000000..070eac7 --- /dev/null +++ b/memory.x @@ -0,0 +1,15 @@ +MEMORY { + BOOT2 : ORIGIN = 0x10000000, LENGTH = 0x100 + FLASH : ORIGIN = 0x10000100, LENGTH = 2048K - 0x100 + RAM : ORIGIN = 0x20000000, LENGTH = 256K +} + +EXTERN(BOOT2_FIRMWARE) + +SECTIONS { + /* ### Boot loader */ + .boot2 ORIGIN(BOOT2) : + { + KEEP(*(.boot2)); + } > BOOT2 +} INSERT BEFORE .text;
\ No newline at end of file |