From 8be9a0ac6bd25a1c8524bd88d910046c5d78095f Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Tue, 4 Jun 2024 19:37:29 -0500 Subject: Add stage 1 editor and update README --- hexedit/pico_ram_only.ld | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 hexedit/pico_ram_only.ld (limited to 'hexedit/pico_ram_only.ld') diff --git a/hexedit/pico_ram_only.ld b/hexedit/pico_ram_only.ld new file mode 100644 index 0000000..1185af5 --- /dev/null +++ b/hexedit/pico_ram_only.ld @@ -0,0 +1,14 @@ +ENTRY(main) + +MEMORY { + FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2M + SRAM(rwx) : ORIGIN = 0x20000000, LENGTH = 264K +} + +SECTIONS { + .text : { + main.o(.text); + *(.text); + . = ALIGN(4); + } > SRAM +} -- cgit v1.2.3