Find a file
2024-10-09 16:13:17 -05:00
.cargo Add comments 2024-10-09 16:07:13 -05:00
src Add comments 2024-10-09 16:07:13 -05:00
.envrc Add comments 2024-10-09 16:07:13 -05:00
.gitignore Add comments 2024-10-09 16:07:13 -05:00
build.rs Add comments 2024-10-09 16:07:13 -05:00
Cargo.lock Add comments 2024-10-09 16:07:13 -05:00
Cargo.toml Add comments 2024-10-09 16:07:13 -05:00
flake.lock Add comments 2024-10-09 16:07:13 -05:00
flake.nix Add readme 2024-10-09 16:13:17 -05:00
memory.x Add comments 2024-10-09 16:07:13 -05:00
readme.md Add readme 2024-10-09 16:13:17 -05:00
rp235x_riscv.x Add comments 2024-10-09 16:07:13 -05:00
rust-toolchain.toml Add readme 2024-10-09 16:13:17 -05:00

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!