-
Notifications
You must be signed in to change notification settings - Fork 542
Description
I’ve been using PlatformIO and recently discovered that the official raspberrypi platform now pulls in this core (framework-arduino-pico) via the PlatformIO registry, even though the docs still suggest using the Max Gerhardt fork due to lack of upstream support.
Here’s what I’m seeing:
• With platform = raspberrypi and board = adafruit_feather, PlatformIO resolves and installs framework-arduinopico via your GitHub repo.
• Verified via:
pio pkg list
Resolving adafruit_feather_rp2040 dependencies...
Platform raspberrypi @ 1.17.0+sha.6af38e2 (required: raspberrypi)
├── framework-arduinopico @ 1.40600.0+sha.6fc3165 (required: git+https://github.com/earlephilhower/arduino-pico.git#6fc3165d3a6024d221ed8897cf2b6f52c613fb10)
├── tool-mklittlefs-rp2040-earlephilhower @ 5.100300.230216 (required: earlephilhower/tool-mklittlefs-rp2040-earlephilhower @ ~5.100300.0)
├── tool-openocd-rp2040-earlephilhower @ 5.140200.250530 (required: https://github.com/earlephilhower/pico-quick-toolchain/releases/download/4.1.0/aarch64-apple-darwin20.4.openocd-ebec9504d.250530.tar.gz)
├── tool-picotool-rp2040-earlephilhower @ 5.140200.250530 (required: https://github.com/earlephilhower/pico-quick-toolchain/releases/download/4.1.0/aarch64-apple-darwin20.4.picotool-c56c005.250530.tar.gz)
└── toolchain-rp2040-earlephilhower @ 5.140200.250530 (required: https://github.com/earlephilhower/pico-quick-toolchain/releases/download/4.1.0/aarch64-apple-darwin20.4.arm-none-eabi-1aec55e.250530.tar.gz)
But this seems to contradict the documentation, which still says:
“Support for this core has not been merged into the upstream PlatformIO raspberrypi platform…”
I understand PR #36 was closed and never merged, but it appears PlatformIO incorporated support separately, likely via internal registry metadata and dynamic resolution rather than via GitHub repo changes.
It would seem that the docs need to be updated now that support appears to be in PlatformIO directly? It could help avoid confusion for users who are now successfully using this core through the official platform.
Example platformio.ini configuration using the official platform and Philhower core
[env:adafruit_feather_rp2040]
platform = raspberrypi
board = adafruit_feather
framework = arduino
board_build.core = earlephilhower
board_build.filesystem_size = 0.5m
monitor_speed = 115200
upload_protocol = picotool
debug_tool = cmsis-dapThis minimal configuration works out of the box with PlatformIO Core 6.1.18+ and Platform raspberrypi 1.17.0+, pulling the Philhower core automatically from the registry.
I'd be happy to create a doc update PR if that would be helpful.