From b6462786840cea2e2c3197a36234363f91e41b1a Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Mon, 15 Jul 2024 03:50:10 -0500 Subject: Improve assembler controls --- assembler/pico_bin.ld | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 assembler/pico_bin.ld (limited to 'assembler/pico_bin.ld') diff --git a/assembler/pico_bin.ld b/assembler/pico_bin.ld new file mode 100644 index 0000000..3059501 --- /dev/null +++ b/assembler/pico_bin.ld @@ -0,0 +1,13 @@ +ENTRY(main) + +MEMORY { + FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2M + SRAM(rwx) : ORIGIN = 0x20001000, LENGTH = 260K +} + +SECTIONS { + .text : { + *(.text); + . = ALIGN(4); + } > SRAM +} -- cgit v1.2.3