diff options
Diffstat (limited to 'cortex-m-rt')
-rwxr-xr-x | cortex-m-rt/assemble.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cortex-m-rt/assemble.sh b/cortex-m-rt/assemble.sh index f9ec7d8..e59bb21 100755 --- a/cortex-m-rt/assemble.sh +++ b/cortex-m-rt/assemble.sh @@ -6,6 +6,9 @@ set -euxo pipefail crate=cortex-m-rt +# remove existing blobs because otherwise this will append object files to the old blobs +rm -f bin/*.a + arm-none-eabi-as -march=armv6s-m asm.s -o bin/$crate.o ar crs bin/thumbv6m-none-eabi.a bin/$crate.o |