LinuxCommandLibrary

pio-run

Run PlatformIO project targets.

TLDR

List all available project targets

$ pio run --list-targets
copy


List all available project targets of a specific environment
$ pio run --list-targets --environment [environment]
copy


Run all targets
$ pio run
copy


Run all targets of specified environments
$ pio run --environment [environment1] --environment [environment2]
copy


Run specified targets
$ pio run --target [target1] --target [target2]
copy


Run the targets of a specified configuration file
$ pio run --project-conf [path/to/platformio.ini]
copy

Copied to clipboard