diff --git a/src/welcome-bare-metal.md b/src/welcome-bare-metal.md index 69ecc0ac..7781ef27 100644 --- a/src/welcome-bare-metal.md +++ b/src/welcome-bare-metal.md @@ -7,10 +7,10 @@ experience with bare-metal programming in some other language such as C. Today we will talk about 'bare-metal' Rust: running Rust code without an OS underneath us. This will be divided into several parts: - * What is `no_std` Rust? - * Writing firmware for microcontrollers. - * Writing bootloader / kernel code for application processors. - * Some useful crates for bare-metal Rust development. +- What is `no_std` Rust? +- Writing firmware for microcontrollers. +- Writing bootloader / kernel code for application processors. +- Some useful crates for bare-metal Rust development. For the microcontroller part of the course we will use the [BBC micro:bit](https://microbit.org/) v2 as an example. It's a [development board](https://tech.microbit.org/hardware/) based on the Nordic @@ -23,6 +23,7 @@ To get started, install some tools we'll need later. On gLinux or Debian: sudo apt install aarch64-linux-gnu-gcc gdb-multiarch libudev-dev picocom qemu-system-arm rustup update rustup target add aarch64-unknown-none thumbv7em-none-eabihf +rustup component add llvm-tools-preview cargo install cargo-binutils cargo-embed ``` @@ -42,5 +43,6 @@ brew install gdb picocom qemu brew install --cask gcc-aarch64-embedded rustup update rustup target add aarch64-unknown-none thumbv7em-none-eabihf +rustup component add llvm-tools-preview cargo install cargo-binutils cargo-embed ```