commit e09ab3fc5d61c36c60025e289bcc7b404ca73953
parent aa387d17a5e5f122413a252ddb7ba4a22956676f
Author: Matsuda Kenji <info@mtkn.jp>
Date: Fri, 1 Mar 2024 08:21:50 +0900
delete sections
Diffstat:
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/ex3/memmap.ld b/ex3/memmap.ld
@@ -14,13 +14,5 @@ SECTIONS
.text : {
*(.text)
} > FLASH
-
- .data : {
- *(.data)
- } > SRAM
-
- .bss : {
- *(.bss)
- } > SRAM
}
diff --git a/ex3/start.s b/ex3/start.s
@@ -1,6 +1,7 @@
.cpu cortex-m0plus
.thumb
+ .section .text
.global vectors
vectors:
.word 0x20040000 // 0 initial SP
@@ -21,7 +22,6 @@ vectors:
.word reset+1 // 15 systick
.word isr_alarm+1 // 16 alarm_0
- .section .text
reset:
bl main
loop: