No description
.cargo | ||
src | ||
.envrc | ||
.gitignore | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
flake.lock | ||
flake.nix | ||
memory.x | ||
readme.md | ||
rp235x_riscv.x | ||
rust-toolchain.toml |
Raspberry Pi Pico 2 - with Rust!
You will need nix with flakes enabled. Then:
$ 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!