Skip to content
Snippets Groups Projects
Commit 70166d4e authored by Astro's avatar Astro :gear:
Browse files

README: update

parent 9a4a43a8
Branches
No related tags found
No related merge requests found
...@@ -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!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment