Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 410 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 410 Bytes

Running

$ cargo embed

Debugging (Mac)

cargo embed
# open new terminal
cd projects/rust/toad-time
arm-none-eabi-gdb -q -x openocd.gdb target/thumbv6m-none-eabi/debug/rp2040-tmp

Old Way To Debug

$ openocd -f interface/cmsis-dap.cfg -c "adapter speed 5000" -f target/rp2040.cfg -s tcl
# then swap `probe-run` runner for `arm-none-eabi-gdb` runner in `.cargo/config.toml`