From bfa4501cd703149f4720a4ef6cdbe74ef6c3e361 Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Sun, 30 Aug 2026 17:35:22 -0400 Subject: Add RP2040 support --- crates/rp-pico-2040/memory.x | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 crates/rp-pico-2040/memory.x (limited to 'crates/rp-pico-2040/memory.x') diff --git a/crates/rp-pico-2040/memory.x b/crates/rp-pico-2040/memory.x new file mode 100644 index 0000000..4077aab --- /dev/null +++ b/crates/rp-pico-2040/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; -- cgit v1.2.3