essele / pico_debug

A fast flasher/debugger for RP2040 based devices (runs on Raspberry Pi Pico)
MIT License
67 stars 9 forks source link

How to simply push code #10

Closed ThePurpleOne closed 2 months ago

ThePurpleOne commented 2 months ago

From what i can gather from the readme, it's possible to push code without any openOCD stuff. But beside the vscode setup, i don't get how we are suppose to flash the other RP2040.

What should i use if I only wanted to flash it, by hand, from cli tools ?

essele commented 2 months ago

Hi,

This tool isn't really designed to be used from the command-line, it's used from within GDB (which is kicked of by VSCode in most cases) ... you could probably script something to work with GDB, but it's not something I've tried.

I can see a use-case for bulk programming where a command-line would be really useful, but unfortunately I'm not working on this at the moment (I will come back to it, especially given the new devices), but I'm in the middle of something else for the next few months.

Lee.