1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-20 21:18:26 +02:00
comprehensive-rust/src/welcome-bare-metal.md

19 lines
551 B
Markdown
Raw Normal View History

2023-02-01 15:57:05 +00:00
# Welcome to Bare Metal Rust
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.
2023-02-15 04:52:47 +00:00
To get started, install some tools we'll need later:
```bash
sudo apt install gdb-multiarch picocom
rustup update
rustup target add thumbv7em-none-eabihf
cargo install cargo-binutils cargo-embed
```