diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2024-11-15 02:48:27 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2024-11-15 02:48:27 -0700 |
| commit | ede9bee7f22fd5d0e1bacb7689f1cac23992b70b (patch) | |
| tree | 904d8d80063aa415b9e407f6ec73aa874483ebcd /linker | |
| parent | 63054d2fdf9a0ae3e9dcdd0d20eb8714671a010b (diff) | |
| download | ch573-ede9bee7f22fd5d0e1bacb7689f1cac23992b70b.tar.gz ch573-ede9bee7f22fd5d0e1bacb7689f1cac23992b70b.tar.bz2 ch573-ede9bee7f22fd5d0e1bacb7689f1cac23992b70b.zip | |
UART is working.
Diffstat (limited to 'linker')
| -rw-r--r-- | linker/ls.ld | 2 |
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 |