I don't use openocd or picoprobe, but I do use Linux Mint. I compile and upload from the command line. I'll share my scripts, in case someone might find them useful.
Full build (when files have been added/removed):Quick build (when only code changes were made):Upload to Pico (assumes only one uf2 file exists; also assumes the udev rule in place to avoid sudo):
Full build (when files have been added/removed):
Code:
#!/bin/bashcd build && rm -rf * && cmake .. && make
Code:
#!/bin/bashcd build && make
Code:
#!/bin/bashpicotool reboot -f -u && sleep 1find ./ -name "*.uf2" -execdir picotool load "{}" \; && sleep 1picotool reboot -f -a
Statistics: Posted by Mike**K — Fri Dec 06, 2024 2:39 pm