File tree 7 files changed +107
-0
lines changed 7 files changed +107
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "type" : " added" ,
3
+ "description" : " added ARMv8-M newlib targets." ,
4
+ "issues" : [1116 ]
5
+ }
Original file line number Diff line number Diff line change @@ -369,6 +369,9 @@ terminate.
369
369
| ` thumbv7m-none-eabi ` [ 4] | 3.3.0 | 9.2.1 | | N/A | |
370
370
| ` thumbv7neon-linux-androideabi ` [ 1] | 9.0.8 | 9.0.8 | ✓ | 6.1.0 | ✓ |
371
371
| ` thumbv7neon-unknown-linux-gnueabihf ` | 2.31 | 9.4.0 | ✓ | N/A | ✓ |
372
+ | ` thumbv8m.base-none-eabi ` [ 4] | 3.3.0 | 9.2.1 | | N/A | |
373
+ | ` thumbv8m.main-none-eabi ` [ 4] | 3.3.0 | 9.2.1 | | N/A | |
374
+ | ` thumbv8m.main-none-eabihf ` [ 4] | 3.3.0 | 9.2.1 | | N/A | |
372
375
| ` wasm32-unknown-emscripten ` [ 6] | 3.1.14 | 15.0.0 | ✓ | N/A | ✓ |
373
376
| ` x86_64-linux-android ` [ 1] | 9.0.8 | 9.0.8 | ✓ | 6.1.0 | ✓ |
374
377
| ` x86_64-pc-windows-gnu ` | N/A | 9.3 | ✓ | N/A | ✓ |
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.04
2
+ ARG DEBIAN_FRONTEND=noninteractive
3
+
4
+ COPY common.sh lib.sh /
5
+ RUN /common.sh
6
+
7
+ COPY cmake.sh /
8
+ RUN /cmake.sh
9
+
10
+ COPY xargo.sh /
11
+ RUN /xargo.sh
12
+
13
+ COPY qemu.sh /
14
+ RUN apt-get update && apt-get install --assume-yes --no-install-recommends \
15
+ gcc-arm-none-eabi \
16
+ libnewlib-arm-none-eabi && \
17
+ /qemu.sh arm
18
+
19
+ ENV CROSS_TOOLCHAIN_PREFIX=arm-none-eabi-
20
+ ENV QEMU_CPU=cortex-m23 \
21
+ AR_thumbv8m.base_none_eabi="$CROSS_TOOLCHAIN_PREFIX"ar \
22
+ CC_thumbv8m.base_none_eabi="$CROSS_TOOLCHAIN_PREFIX"gcc \
23
+ CXX_thumbv8m.base_none_eabi="$CROSS_TOOLCHAIN_PREFIX"g++ \
24
+ CARGO_TARGET_THUMBV8M.BASE_NONE_EABI_RUNNER=qemu-arm
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.04
2
+ ARG DEBIAN_FRONTEND=noninteractive
3
+
4
+ COPY common.sh lib.sh /
5
+ RUN /common.sh
6
+
7
+ COPY cmake.sh /
8
+ RUN /cmake.sh
9
+
10
+ COPY xargo.sh /
11
+ RUN /xargo.sh
12
+
13
+ COPY qemu.sh /
14
+ RUN apt-get update && apt-get install --assume-yes --no-install-recommends \
15
+ gcc-arm-none-eabi \
16
+ libnewlib-arm-none-eabi && \
17
+ /qemu.sh arm
18
+
19
+ ENV CROSS_TOOLCHAIN_PREFIX=arm-none-eabi-
20
+ ENV QEMU_CPU=cortex-m33 \
21
+ AR_thumbv8m.main_none_eabi="$CROSS_TOOLCHAIN_PREFIX"ar \
22
+ CC_thumbv8m.main_none_eabi="$CROSS_TOOLCHAIN_PREFIX"gcc \
23
+ CXX_thumbv8m.main_none_eabi="$CROSS_TOOLCHAIN_PREFIX"g++ \
24
+ CARGO_TARGET_THUMBV8M.MAIN_NONE_EABI_RUNNER=qemu-arm
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.04
2
+ ARG DEBIAN_FRONTEND=noninteractive
3
+
4
+ COPY common.sh lib.sh /
5
+ RUN /common.sh
6
+
7
+ COPY cmake.sh /
8
+ RUN /cmake.sh
9
+
10
+ COPY xargo.sh /
11
+ RUN /xargo.sh
12
+
13
+ COPY qemu.sh /
14
+ RUN apt-get update && apt-get install --assume-yes --no-install-recommends \
15
+ gcc-arm-none-eabi \
16
+ libnewlib-arm-none-eabi && \
17
+ /qemu.sh arm
18
+
19
+ ENV CROSS_TOOLCHAIN_PREFIX=arm-none-eabi-
20
+ ENV QEMU_CPU=cortex-m33 \
21
+ AR_thumbv8m.main_none_eabihf="$CROSS_TOOLCHAIN_PREFIX"ar \
22
+ CC_thumbv8m.main_none_eabihf="$CROSS_TOOLCHAIN_PREFIX"gcc \
23
+ CXX_thumbv8m.main_none_eabihf="$CROSS_TOOLCHAIN_PREFIX"g++ \
24
+ CARGO_TARGET_THUMBV8M.MAIN_NONE_EABIHF_RUNNER=qemu-arm
Original file line number Diff line number Diff line change @@ -273,6 +273,21 @@ pub static PROVIDED_IMAGES: &[ProvidedImage] = &[
273
273
platforms : & [ ImagePlatform :: X86_64_UNKNOWN_LINUX_GNU ] ,
274
274
sub : None
275
275
} ,
276
+ ProvidedImage {
277
+ name : "thumbv8m.base-none-eabi" ,
278
+ platforms : & [ ImagePlatform :: X86_64_UNKNOWN_LINUX_GNU ] ,
279
+ sub : None
280
+ } ,
281
+ ProvidedImage {
282
+ name : "thumbv8m.main-none-eabi" ,
283
+ platforms : & [ ImagePlatform :: X86_64_UNKNOWN_LINUX_GNU ] ,
284
+ sub : None
285
+ } ,
286
+ ProvidedImage {
287
+ name : "thumbv8m.main-none-eabihf" ,
288
+ platforms : & [ ImagePlatform :: X86_64_UNKNOWN_LINUX_GNU ] ,
289
+ sub : None
290
+ } ,
276
291
ProvidedImage {
277
292
name : "zig" ,
278
293
platforms : & [ ImagePlatform :: X86_64_UNKNOWN_LINUX_GNU ] ,
Original file line number Diff line number Diff line change @@ -457,6 +457,18 @@ target = "thumbv7m-none-eabi"
457
457
os = " ubuntu-latest"
458
458
std = true
459
459
460
+ [[target ]]
461
+ target = " thumbv8m.base-none-eabi"
462
+ os = " ubuntu-latest"
463
+
464
+ [[target ]]
465
+ target = " thumbv8m.main-none-eabi"
466
+ os = " ubuntu-latest"
467
+
468
+ [[target ]]
469
+ target = " thumbv8m.main-none-eabihf"
470
+ os = " ubuntu-latest"
471
+
460
472
[[target ]]
461
473
target = " cross"
462
474
os = " ubuntu-latest"
You can’t perform that action at this time.
0 commit comments