LinuxCommandLibrary

pio-run

builds PlatformIO projects

TLDR

Build project

$ pio run
copy
Build and upload to device
$ pio run --target upload
copy
Build specific environment
$ pio run -e [uno]
copy
Clean build files
$ pio run --target clean
copy

SYNOPSIS

pio run [options]

DESCRIPTION

pio run builds PlatformIO projects. Compiles source code, links libraries, and optionally uploads firmware to target devices. Core command for embedded development workflow.

PARAMETERS

-e, --environment name

Process specific environment.
-t, --target target
Process target (upload, clean, program, etc.).
-d, --project-dir dir
Project directory.
--upload-port port
Upload port.
-j, --jobs num
Parallel jobs.
-v, --verbose
Verbose output.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community