PicoRX icon indicating copy to clipboard operation
PicoRX copied to clipboard

Any chance of Visual Studio Code support?

Open bmentink opened this issue 1 year ago • 1 comments

Hi, There is a pico/pico2 extension for VSC that supports cmake, it would be great if you could port your project. I think you will find that minimal changes have to be made.

Cheers, Bernie

bmentink avatar Aug 25 '24 23:08 bmentink

Actually, I just tried importing your project, and it worked it out ... built fine in VSC with the extension. At least that was for the pico, not sure how to tell it to build for pico2, will investigate ..

EDIT: Seems it is as simple as selecting new board target in the extension then re-building ... easy

Oops, looking at CMakeCache.txt, It still built a pico executable rather than pico2 one. It seems there has to be a way to pass the following in VSC: -DPICO_BOARD=pico2 -DPICO_PLATFORM=rp2350-arm-s What toplevel cmake file can I edit to pass those?

Building in a terminal in the VSC environment works for all targets, just not the GUI ..

bmentink avatar Aug 26 '24 00:08 bmentink