Forrest logo
back to the pio tool

pio-run:tldr:daed6

pio-run: List all available project targets.
$ pio run --list-targets
try on your machine

The command "pio run --list-targets" is used in the PlatformIO development environment to list the available targets for building or uploading firmware.

PlatformIO is an open-source ecosystem for embedded development that provides a unified platform for developing firmware for various microcontrollers. It supports a wide range of development boards and frameworks.

When you run the "pio run --list-targets" command, PlatformIO scans the project directory and its configuration files to identify the available targets defined for building firmware. A target refers to a specific configuration for building or uploading firmware to a particular board or platform.

The command will output a list of the identified targets, which typically include the board's ID, name, and any other relevant details. This information helps developers to select the appropriate target when building or uploading firmware using PlatformIO.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pio tool