Open bmentink opened 2 weeks ago
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 ..
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