Forrest logo
back to the pio tool

pio-ci:tldr:2bb8b

pio-ci: Build a PlatformIO project and specify a specific board (`pio boards` lists all of them).
$ pio ci --board ${board} ${path-to-project}
try on your machine

This command is used to build and test a PlatformIO project for a specific development board.

  • pio ci: This is the main command of PlatformIO Continuous Integration (CI) System. It is used to build, test, and lint projects using various development platforms.

  • --board ${board}: This is an optional argument that specifies the development board on which the project will be built and tested. ${board} is a placeholder that should be replaced with the actual board identifier. For example, if you want to build the project for an Arduino Uno board, the command would be pio ci --board uno ${path-to-project}.

  • ${path-to-project}: This is the path to the project directory or folder that contains the PlatformIO project. You should replace ${path-to-project} with the actual path of your project. For example, if your project is located in the ~/Documents/my-project directory, the command would be pio ci --board ${board} ~/Documents/my-project.

Overall, this command allows you to build and test a PlatformIO project for a specific development board, helping you ensure that your code works correctly on the target hardware.

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