Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Astro
rust-card10
Commits
70166d4e
Commit
70166d4e
authored
Aug 22, 2019
by
Astro
⚙
Browse files
README: update
parent
9a4a43a8
Pipeline
#3004
failed with stage
in 1 minute and 21 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
README.md
View file @
70166d4e
...
...
@@ -2,18 +2,23 @@
## Usage
You need arm-none-eabi
hf
-gcc and Rust nightly. Use rustup or NixOS.
You need arm-none-eabi-gcc and Rust nightly. Use rustup or NixOS.
```
shell
rustup update 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
cargo build
--release
```
Then copy the resulting
`../target/thumbv7em-none-eabi
hf
/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`
extension!
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment