Picked up a Plasma 2350 W over the weekend with the hope of building a project with it using the C/C++ SDK. However, I’ve come to find the SDK and libraries a bit less functional than I’d expect!
Here’s my boilerplate code:
Rather than forking pico-sdk to add the new board file, I’ve set a PICO_BOARD_HEADER_DIRS
in my CMakeLists.txt and added it to the project directory. I have had to fork pimoroni-pico to add the new board definitions.
Doing this:
$ mkdir build && cd build
$ cmake ..
$ make
Produces a valid UF2 and ELF. However, if I try loading it onto the Plasma 2350 W, it accepts the binary (it does a reset) but then reboots into bootloader mode again. I do have a debug probe, however I’m not quite at the point of knowing how to debug boot failures just yet (only started with the Pico a week ago).
Evidently it is possible to build C/C++ projects for the Plasma 2350 W since there’s a Micropython build available for it;) I have cribbed a few of the CMake tricks from that repository, in fact.
I guess that the pimoroni-pico libraries aren’t compatible with RP2350 … and the pimoroni-pico-rp2350 repository seems to just be Micropython builds (which do work) and not the rest of the library. So … we’re just missing a bunch of stuff needed to do C++ projects on the Pimoroni RP2350 boards?