1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-09-16 09:36:41 +02:00

Build bare-metal examples in presubmit.

This commit is contained in:
Andrew Walbran
2023-03-21 17:24:49 +00:00
parent b670098ab1
commit 72ff50e60b
2 changed files with 40 additions and 4 deletions

View File

@@ -20,9 +20,9 @@ an on-board SWD debugger.
To get started, install some tools we'll need later. On gLinux or Debian:
```bash
sudo apt install gdb-multiarch libudev-dev picocom qemu-system-arm
sudo apt install aarch64-linux-gnu-gcc gdb-multiarch libudev-dev picocom qemu-system-arm
rustup update
rustup target add thumbv7em-none-eabihf aarch64-unknown-none
rustup target add aarch64-unknown-none thumbv7em-none-eabihf
cargo install cargo-binutils cargo-embed
```
@@ -38,8 +38,8 @@ On MacOS:
```bash
xcode-select --install
brew install picocom qemu gdb
brew install gdb picocom qemu
rustup update
rustup target add thumbv7em-none-eabihf aarch64-unknown-none
rustup target add aarch64-unknown-none thumbv7em-none-eabihf
cargo install cargo-binutils cargo-embed
```