From ede9bee7f22fd5d0e1bacb7689f1cac23992b70b Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Fri, 15 Nov 2024 02:48:27 -0700 Subject: UART is working. --- linker/ls.ld | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linker') 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 -- cgit