Commit 70166d4e authored by Astro's avatar Astro
Browse files

README: update

parent 9a4a43a8
Pipeline #3004 failed with stage
in 1 minute and 21 seconds
...@@ -2,18 +2,23 @@ ...@@ -2,18 +2,23 @@
## Usage ## Usage
You need arm-none-eabihf-gcc and Rust nightly. Use rustup or NixOS. You need arm-none-eabi-gcc and Rust nightly. Use rustup or NixOS.
```shell ```shell
rustup update nightly rustup update nightly
rustup override set nightly rustup override set nightly
rustup target add thumbv7em-none-eabihf rustup target add thumbv7em-none-eabi
```
Check out this repo's submodule (the C firmware).
```shell
cd example cd example
cargo build --release cargo build --release
``` ```
Then copy the resulting Then copy the resulting
`../target/thumbv7em-none-eabihf/release/l0dable-example` to the badge `../target/thumbv7em-none-eabi/release/l0dable-example` to the badge
in USB Mass Storage mode. Don't forget to rename with the `.elf` in USB Mass Storage mode. Don't forget to rename with the `.elf`
extension! extension!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment