From 938be013365a9151557b9c4c133d61e697b3a5cc Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Sun, 1 Jun 2025 15:45:33 +0200 Subject: moved project to blinky --- blinky/memory.x | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 blinky/memory.x (limited to 'blinky/memory.x') diff --git a/blinky/memory.x b/blinky/memory.x new file mode 100644 index 0000000..070eac7 --- /dev/null +++ b/blinky/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 -- cgit v1.2.3