aboutsummaryrefslogtreecommitdiff
path: root/linker/ls.ld
diff options
context:
space:
mode:
Diffstat (limited to 'linker/ls.ld')
-rw-r--r--linker/ls.ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/linker/ls.ld b/linker/ls.ld
index 18ee181..916438b 100644
--- a/linker/ls.ld
+++ b/linker/ls.ld
@@ -10,6 +10,7 @@ SECTIONS
.text : ALIGN(0x04) {
*(.sinit);
+ *(.sinit.1);
/* The ch573 starts execution at address 0x0000, so we have to make sure the
* on_reset function is put at the beginning of the flash. */
@@ -23,6 +24,7 @@ SECTIONS
.isr_vector : ALIGN(0x04) {
ISR_VECTOR_START = .;
*(.isr_vector);
+ *(.isr_vector.routines);
ISR_VECTOR_STOP = .;
} >sram AT>flash