diff options
author | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-06-04 19:37:29 -0500 |
---|---|---|
committer | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-06-04 19:37:29 -0500 |
commit | 8be9a0ac6bd25a1c8524bd88d910046c5d78095f (patch) | |
tree | 7d892a1b86e8071502cd208ac415d8d6a23f049a /hexedit/pico_ram_only.ld | |
parent | f2f186c3594a922e51abf25b24052c61f833a2bf (diff) |
Add stage 1 editor and update README
Diffstat (limited to 'hexedit/pico_ram_only.ld')
-rw-r--r-- | hexedit/pico_ram_only.ld | 14 |
1 files changed, 14 insertions, 0 deletions
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 +} |