Official PlatformIO + Arduino IDE support for the Raspberry Pi Pico is now available!

If anyone is having issues with the RaspberryPi Pico builds using PlatformIO, use the following platformio.ini.

The upload_port is the path to the mounted Pico USB UF2, below is for macOS.

[env:pico]
platform = https://github.com/platformio/platform-raspberrypi.git
framework = arduino
board = pico
upload_port = /Volumes/RPI-RP2

The debug support under PlatformIO doesn’t work at the moment (see Raspberry Pi RP2040 microcontroller - PIO support when? :) - #42 by sstaub ).

I have tested out a couple of my Pico sketches on RaspberryPi Pico board and the Pimoroni Tiny2040 board (Tiny 2040 - Pimoroni). All work fine with PlatformIO.

1 Like