Do let me know if you run into some success. I’ve hit the same types of “life happens” stuff so I get it. My hope is that it’s at least significantly faster since now it’ll pull by default instead of building by default (2min from 15min on my old local desktop).
I’ve been looking through seeing if I could port over parts of your OpenOCD items and haven’t gotten to yet since I’m still waiting on the RP debugger to arrive.
After the extension suddenly stopped working under windows with seemingly no fix, I followed the above to install WSL and get VSCode. I also took bits and pieces from elsewhere. Here’s my attempt to document the install:
WSL
wsl --install in Windows Power shell run as admin
Restart Windows
Run the ubuntu app in Windows
Give it a user name and password to complete the install
FYI: Installation of the pico SDK is optional. It can be pulled automagically during build (-DPICO_SDK_FETCH_FROM_GIT=TRUE when configuring cmake … as decribed in /readme.md) … which I recommend for most folks, because RPi doesn’t seem to like side-by-side installs).
OpenOCD supports RP2040 natively.
If you find a release that supports RP2350 natively, do post here. The pico SDK includes a pre-release version that supports RP2350.
Things seem to be stabilizing and I was productive across two repos today. There is some added ugliness of WSL. For example to upload dirtyjtag I had to drag the file into a Windows folder, click a warning, and then I could zip and upload it.
On the flip side, the toolchain makes a whole lot more sense to me on Linux. The build server is easy enough to setup and debug. Under Windows it’s black magic with the installer (or the new VSCode extension).
You are right, if you use windows Explorer to update via UF2…
You can also just copy directly from a windows windows command prompt, which avoids that warning.
Of course, I recommend having SWD hooked up, and if the debug prove is in WSL2 (via USBIPD), then the firmware files never even have to touch the Windows side.
You are right about the build tools. That is the main reason I think it’s worth the cost of setting up WSL2 (or a VM) for development. Debuggers too! With VSCode’s remote mode, it is fairly seamless.
Glad you got stuff back to a point where you can be productive again!