diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/stm32.ld | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/cmake/stm32.ld b/cmake/stm32.ld index 48e3d0c..ea06a98 100644 --- a/cmake/stm32.ld +++ b/cmake/stm32.ld @@ -24,13 +24,14 @@ SECTIONS { .text : { - KEEP(*(isr_vectors)) - *(.text.main) + *(.isr_vectors) + init.s:(.text) + *(.text) KEEP(*(.text.*)) - /* - *(.text.*) - KEEP(*(.text.high)) - KEEP(*(.text.low)) - /**/ } >FLASH + + .data : + { + *(.data*) + } >RAM } |