This is what I did to run rust example in the pi pico using a raspberry pi running raspberry pi os trixie and Raspberry Pi Debug Probe:
to produce flashable uf2 file
inusewill createto make vscode code work
inuse
Code:
apt updateapt install rustup libudev-dev pkg-configrustup target add thumbv6m-none-eabicargo install --locked flip-link cargo install --locked elf2uf2-rscargo install --locked probe-rs-toolswget https://probe.rs/files/69-probe-rs.rulessudo cp 69-probe-rs.rules /etc/udev/rules.d/sudo udevadm control --reloadsudo udevadm triggergit clone https://github.com/rp-rs/rp2040-project-templatecd rp2040-project-templatecargo runin
Code:
.cargo/config.tomlCode:
runner = "elf2uf2-rs"Code:
target/thumbv6m-none-eabi/debug/rp2040-project-template.uf2in
Code:
.vscode/launch.jsonCode:
"runtimeExecutable": "${userHome}/.cargo/bin/probe-rs".Statistics: Posted by harrycambs — Thu Jan 08, 2026 5:25 pm — Replies 0 — Views 15