Hi all, just getting starting using VisualGDB to develop for Pi Pico with Visual Studio. The documentation page “Debugging Raspberry Pi Pico via SWD” says “Note that the on-board FLASH memory can be programmed via the bootloader and does not require SWD wiring.” But there is no documentation about how to do this? By default, trying to hit Run in Visual Studio just pops up an error dialog with the super unhelpful message “Failed to program 1 out of 5 sections”
I know that I can hold the BOOTSEL button, replug the USB, and copy uf2 file to the board myself. But that’s a huge pain, how do I set up VisualGDB to do this automatically? I know there are other IDEs that can do this. I don’t need debugging functionality, I just want to use Visual Studio to develop and deploy.