commit f1350f4c47e7fbb2ecd3bdb44d870dfad2f98a56
parent 8f3193fe9dc3807d94e89209f4c060105e58a7cd
Author: Matsuda Kenji <info@mtkn.jp>
Date: Fri, 3 Mar 2023 15:02:29 +0900
change file extention
Diffstat:
2 files changed, 2 insertions(+), 25 deletions(-)
diff --git a/Makefile b/Makefile
@@ -16,8 +16,8 @@ clean:
rm -f *.elf
rm -f *.uf2
-start.o: start.S
- $(AS) $(ASFLAGS) -o start.o start.S
+start.o: start.s
+ $(AS) $(ASFLAGS) -o start.o start.s
boot2.o: boot2/bs2_default_padded_checksummed.S
$(AS) $(ASFLAGS) -o boot2.o boot2/bs2_default_padded_checksummed.S
diff --git a/start.S b/start.S
@@ -1,23 +0,0 @@
- .cpu cortex-m0plus
- .thumb
-
-/* vector table */
- .section .vectors, "ax"
- .align 2
- .global __vectors
-__vectors:
-.word 0x20001000
-.word reset
-
-/* reset handler */
- .thumb_func
- .global reset
-reset:
- ldr r0, =0x20001000
- mov sp, r0
- bl main
- b hang
-
-.thumb_func
-hang: b .
-