Skip to content

Commit 33d1909

Browse files
bors[bot]nezza
andcommitted
Merge #130
130: Add thumbv8m main. r=adamgreig a=nezza rustup supports the `thumbv8m.main-none-eabi` target, this adds support for `thumbv8m.main-none-eabi` to cortex-m. Related PRs: rust-embedded/cortex-m-semihosting#28 rust-embedded/cortex-m-rt#167 Co-authored-by: Thomas Roth <[email protected]>
2 parents b148a2e + 21ee7ef commit 33d1909

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ matrix:
3838
rust: nightly
3939
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
4040

41+
- env: TARGET=thumbv8m.main-none-eabi
42+
rust: nightly
43+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
44+
4145
before_install: set -e
4246

4347
install:

assemble.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ ar crs bin/thumbv7em-none-eabihf.a bin/$crate.o bin/$crate-v7.o bin/$crate-cm7-r
2525
arm-none-eabi-as -march=armv8-m.base asm.s -o bin/$crate.o
2626
ar crs bin/thumbv8m.base-none-eabi.a bin/$crate.o
2727

28+
arm-none-eabi-as -march=armv8-m.main asm.s -o bin/$crate.o
29+
ar crs bin/thumbv8m.main-none-eabi.a bin/$crate.o
30+
2831
rm bin/$crate.o
2932
rm bin/$crate-v7.o
3033
rm bin/$crate-cm7-r0p1.o

bin/thumbv8m.main-none-eabi.a

2.66 KB
Binary file not shown.

0 commit comments

Comments
 (0)