File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,25 @@ nor is access to a Cortex-M microcontroller needed -- all the examples included
4242QEMU. You will, however, need to install the following tools to run and inspect the examples in this
4343book:
4444
45- - [ ` cargo-binutils ` ] ( https://github.com/japaric/cargo-binutils ) . Install it with `cargo install
46- cargo-binutils` ; then run ` rustup component add llvm-tools-preview`.
45+ - [ ` cargo-binutils ` ] ( https://github.com/japaric/cargo-binutils ) .
4746
48- - [ ` cargo-edit ` ] ( https://crates.io/crates/cargo-edit ) . Install it with ` cargo install cargo-edit ` .
47+ - [ ` cargo-edit ` ] ( https://crates.io/crates/cargo-edit ) .
48+
49+ - The ` thumbv7m-none-eabi ` target.
4950
5051- QEMU with support for ARM emulation. The ` qemu-system-arm ` program must be installed on your
5152 computer. The name may differ for non-Debian based distributions.
5253
5354- LLDB. GDB with ARM support can also be used, but this book chooses LLDB as it's more likely that
5455 readers that are not into Cortex-M development have installed LLDB than GDB with ARM support.
56+
57+ #### Rust toolchain setup on Linux
58+
59+ ``` bash
60+ rustup default nightly # If you start from scratch, get rustup from https://rustup.rs/
61+ rustup target add thumbv7m-none-eabi
62+ cargo install cargo-binutils
63+ rustup component add llvm-tools-preview
64+ sudo apt-get install libssl-dev # For Debian based systems (Ubuntu)
65+ cargo install cargo-edit
66+ ```
You can’t perform that action at this time.
0 commit comments