diff options
author | Thomas White <taw@physics.org> | 2023-10-01 08:43:54 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2023-10-01 08:43:54 +0200 |
commit | 632dedc23ed394e6a83cef2e5f0cdc3ae6aae443 (patch) | |
tree | 6ee38620f3285572cdafbe0b6493adb6bb7fbccb | |
parent | ba6556bec0920957b89ef4c69decb9b15d81a6f0 (diff) |
Add OpenOCD upload
-rwxr-xr-x | compile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7,3 +7,6 @@ cd build cmake .. -DPICO_BOARD=pico cd .. make -C build +if [ $? != 0 ]; then exit 1; fi + +openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program build/pixelhub.elf verify reset exit" |