aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rp2040/rp2040_link.lds.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rp2040/rp2040_link.lds.S b/src/rp2040/rp2040_link.lds.S
index 2052cdbd..fd178847 100644
--- a/src/rp2040/rp2040_link.lds.S
+++ b/src/rp2040/rp2040_link.lds.S
@@ -31,8 +31,7 @@ SECTIONS
_text_vectortable_start = .;
KEEP(*(.vector_table))
_text_vectortable_end = .;
- *(.text .text.*)
- *(.rodata .rodata*)
+ *(.text.armcm_boot*)
} > rom
. = ALIGN(4);
@@ -42,7 +41,9 @@ SECTIONS
{
. = ALIGN(4);
_data_start = .;
+ *(.text .text.*)
*(.ramfunc .ramfunc.*);
+ *(.rodata .rodata*)
*(.data .data.*);
. = ALIGN(4);
_data_end = .;