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!
Setup
- Get
rustup
andpicotool
by runningdirenv allow
(or however you like) - Install Rust components via
rustup
by runningrustup show
Flashing
Hold your Pi Pico 2's BOOTSEL
button while plugging it in to your machine.
Then run cargo run --release
.
To use the RISC-V target, run
cargo run --release --target riscv32imac-unknown-none-elf
.