diff options
| author | Ian McIntyre <me@mciantyre.dev> | 2026-08-30 17:35:22 -0400 |
|---|---|---|
| committer | Ian McIntyre <me@mciantyre.dev> | 2026-09-05 13:37:16 -0400 |
| commit | bfa4501cd703149f4720a4ef6cdbe74ef6c3e361 (patch) | |
| tree | 0bf7f586d2d363d7ae5a5599204378f8951a74e8 /crates/rp-pico-2040/memory.x | |
| parent | c4962c8b9207e9474659526e91a1cf387d2a7b8f (diff) | |
Add RP2040 support
Diffstat (limited to 'crates/rp-pico-2040/memory.x')
| -rw-r--r-- | crates/rp-pico-2040/memory.x | 15 |
1 files changed, 15 insertions, 0 deletions
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; |
