Mark all boards as picosdk compatible in PlatformIO board definition #2980

Merged
maxgerhardt merged 2 commits from feature/picosdk_in_piojson into master 2025-05-31 22:19:21 +03:00
maxgerhardt commented 2025-05-31 21:25:54 +03:00 (Migrated from github.com)

As the work continues in platform-raspberrypi to be able to compile native framework = picosdk firmwares, it has come to a point where I want every board to be in general marked as "Pico-SDK framework compatible".

I have specificially tested the examples/picosdk-blink example in the pico2 environment with the Pimoroni Tiny2350 board to be working.

Since I mostly copy-paste the board JSON definitions from here into the PlatformIO platform, it's best to change the generator script here instead of making a second-pass on the generated files.

At a later point in time, I will update this again, adding the build.picosdk.board_header information in the board files as needed, which links them to their Pico-SDK board header file name (e.g. pico.h, pimoroni_tiny2350.h, ..)

As the work continues in platform-raspberrypi to be able to compile native `framework = picosdk` firmwares, it has come to a point where I want every board to be in general marked as "Pico-SDK framework compatible". I have specificially tested the [examples/picosdk-blink](https://github.com/maxgerhardt/platform-raspberrypi/blob/develop/examples/picosdk-blink/platformio.ini) example in the `pico2` environment with the Pimoroni Tiny2350 board to be working. Since I mostly copy-paste the board JSON definitions from here into the PlatformIO platform, it's best to change the generator script here instead of making a second-pass on the generated files. At a later point in time, I will update this again, adding the `build.picosdk.board_header` information in the board files as needed, which links them to their Pico-SDK board header file name (e.g. `pico.h`, `pimoroni_tiny2350.h`, ..)
Sign in to join this conversation.