Skip to content

Commit 08f3ade

Browse files
committed
Add instructions for ARM v8 instruction sets
1 parent 0cd2ca1 commit 08f3ade

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/intro/install.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rustc 1.31.1 (b6c32da9b 2018-12-18)
1717
For bandwidth and disk usage concerns the default installation only supports
1818
native compilation. To add cross compilation support for the ARM Cortex-M
1919
architectures choose one of the following compilation targets. For the STM32F3DISCOVERY
20-
board used for the examples in this book, use the final `thumbv7em-none-eabihf` target.
20+
board used for the examples in this book, use the `thumbv7em-none-eabihf` target.
2121

2222
Cortex-M0, M0+, and M1 (ARMv6-M architecture):
2323
``` console
@@ -39,6 +39,22 @@ Cortex-M4F and M7F with hardware floating point (ARMv7E-M architecture):
3939
$ rustup target add thumbv7em-none-eabihf
4040
```
4141

42+
Cortex-M23 (ARMv8-M architecture):
43+
``` console
44+
$ rustup target add thumbv8m.base-none-eabi
45+
```
46+
47+
Cortex-M33 and M35P (ARMv8-M architecture):
48+
``` console
49+
$ rustup target add thumbv8m.main-none-eabi
50+
```
51+
52+
Cortex-M33F and M35PF with hardware floating point (ARMv8-M architecture):
53+
``` console
54+
$ rustup target add thumbv8m.main-none-eabihf
55+
```
56+
57+
4258
### `cargo-binutils`
4359

4460
``` console

0 commit comments

Comments
 (0)