How to build PlatformIO based project
- Install PlatformIO Core
- Download development platform with examples
- Extract ZIP archive
- Run these commands:
# Change directory to example
$ cd platform-raspberrypi/examples/arduino-external-libs
# Build project
$ pio run
# Upload firmware
$ pio run --target upload
# Build specific environment
$ pio run -e pico
# Upload firmware for the specific environment
$ pio run -e pico --target upload
# Clean build files
$ pio run --target clean