← 返回命令列表

Linux command

pio-boards 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List all supported boards

pio boards

Search for boards

pio boards [arduino]

List boards in JSON format

pio boards --json-output

Filter by installed platforms

pio boards --installed

说明

pio boards lists supported development boards in PlatformIO. It displays a formatted table with board ID, MCU type, frequency, flash memory, RAM, and board name. Use board IDs with pio init for project setup. An optional filter argument narrows results by platform, MCU, or board name (e.g., `pio boards arduino`, `pio boards atmega168`).

参数

--installed
Show only installed boards.
--json-output
Output in JSON format.

FAQ

What is the pio-boards command used for?

pio boards lists supported development boards in PlatformIO. It displays a formatted table with board ID, MCU type, frequency, flash memory, RAM, and board name. Use board IDs with pio init for project setup. An optional filter argument narrows results by platform, MCU, or board name (e.g., `pio boards arduino`, `pio boards atmega168`).

How do I run a basic pio-boards example?

Run `pio boards` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --installed do in pio-boards?

Show only installed boards.