Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install.md #135

Merged
merged 1 commit into from
Feb 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions src/intro/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,27 @@ rustc 1.31.1 (b6c32da9b 2018-12-18)

For bandwidth and disk usage concerns the default installation only supports
native compilation. To add cross compilation support for the ARM Cortex-M
architecture install the following compilation targets.
architecture choose one of the following compilation targets. Use the last one
for the STM32F3DISCOVERY board and follow along with the book.

Cortex M0 M0+
``` console
$ rustup target add thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf
$ rustup target add thumbv6m-none-eabi
```

Cortex M3
``` console
$ rustup target add thumbv7m-none-eabi
```

Cortex M4 M7 without FPU
``` console
$ rustup target add thumbv7em-none-eabi
```

Cortex M4 M7 with FPU <-- STM32F3DISCOVERY
``` console
$ rustup target add thumbv7em-none-eabihf
```

### `cargo-binutils`
Expand Down