platformio
Build a PlatformIO project using its platformio.ini configuration. The
command collects compiler metadata, creates a compiler badge, optionally
produces a compilation database, and writes an RST build report.
For programmatic usage, see platformio.
Default run name: platformio
cikit platformio . -e release -a firmware.bin
Arguments and options
project_dir: PlatformIO project directory (default: project root).-e, --environment NAME: PlatformIO environment (default: project selection).-a, --artifact PATH: Output relative to the active PlatformIO build directory; repeatable.--clean/--no-clean: Clean build data (default: clean).--compile-commands/--no-compile-commands: Generatecompile_commands.json(default: enabled).
Requires: PlatformIO Core and the toolchains/platforms selected by the project.
Results: Compiler badge, build metrics and logs, optional compilation database, requested build artifacts, and RST build report.