Skip to content
This repository was archived by the owner on Jan 24, 2022. It is now read-only.

Commit abfb8cc

Browse files
Assemble with debuginfo
1 parent 53d2662 commit abfb8cc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

assemble.sh

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ crate=cortex-m-rt
99
# remove existing blobs because otherwise this will append object files to the old blobs
1010
rm -f bin/*.a
1111

12-
arm-none-eabi-gcc -c -march=armv6s-m asm.S -o bin/$crate.o
12+
arm-none-eabi-gcc -g -c -march=armv6s-m asm.S -o bin/$crate.o
1313
ar crs bin/thumbv6m-none-eabi.a bin/$crate.o
1414

15-
arm-none-eabi-gcc -c -march=armv7-m asm.S -o bin/$crate.o
15+
arm-none-eabi-gcc -g -c -march=armv7-m asm.S -o bin/$crate.o
1616
ar crs bin/thumbv7m-none-eabi.a bin/$crate.o
1717

18-
arm-none-eabi-gcc -c -march=armv7e-m asm.S -o bin/$crate.o
18+
arm-none-eabi-gcc -g -c -march=armv7e-m asm.S -o bin/$crate.o
1919
ar crs bin/thumbv7em-none-eabi.a bin/$crate.o
2020

21-
arm-none-eabi-gcc -c -march=armv7e-m asm.S -DHAS_FPU -o bin/$crate.o
21+
arm-none-eabi-gcc -g -c -march=armv7e-m asm.S -DHAS_FPU -o bin/$crate.o
2222
ar crs bin/thumbv7em-none-eabihf.a bin/$crate.o
2323

24-
arm-none-eabi-gcc -c -march=armv8-m.base asm.S -o bin/$crate.o
24+
arm-none-eabi-gcc -g -c -march=armv8-m.base asm.S -o bin/$crate.o
2525
ar crs bin/thumbv8m.base-none-eabi.a bin/$crate.o
2626

27-
arm-none-eabi-gcc -c -march=armv8-m.main asm.S -o bin/$crate.o
27+
arm-none-eabi-gcc -g -c -march=armv8-m.main asm.S -o bin/$crate.o
2828
ar crs bin/thumbv8m.main-none-eabi.a bin/$crate.o
2929

30-
arm-none-eabi-gcc -c -march=armv8-m.main -DHAS_FPU asm.S -o bin/$crate.o
30+
arm-none-eabi-gcc -g -c -march=armv8-m.main -DHAS_FPU asm.S -o bin/$crate.o
3131
ar crs bin/thumbv8m.main-none-eabihf.a bin/$crate.o
3232

3333
rm bin/$crate.o

0 commit comments

Comments
 (0)