rp-pico-2-rust/readme.md
2024-10-09 16:13:17 -05:00

15 lines
411 B
Markdown

# Raspberry Pi Pico 2 - with Rust!
You will need nix with flakes enabled. Then:
```shell_session
$ direnv allow # setup rustup and picotool
$ rustup show # install rustc, cargo, and the pico 2 toolchain
# plug in your pico 2 while holding the BOOTSEL button
$ cargo run --release
# this will probably fail the first and you will need to install whatever is missing with rustup
# then try again
```
Have fun!