![Forrest logo](/images/logo.png)
pio-ci:tldr:2bb8b
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 bepio 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 bepio 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.