2021-03-28 20:26:38 +02:00
|
|
|
# pio check
|
|
|
|
|
|
|
|
> Perform a static analysis check on a PlatformIO project.
|
|
|
|
> More information: <https://docs.platformio.org/en/latest/core/userguide/cmd_check.html>.
|
|
|
|
|
|
|
|
- Perform a basic analysis check on the current project:
|
|
|
|
|
|
|
|
`pio check`
|
|
|
|
|
|
|
|
- Perform a basic analysis check on a specific project:
|
|
|
|
|
2025-04-27 10:59:15 +03:00
|
|
|
`pio check {{[-d|--project-dir]}} {{project_dir}}`
|
2021-03-28 20:26:38 +02:00
|
|
|
|
|
|
|
- Perform an analysis check for a specific environment:
|
|
|
|
|
2025-04-27 10:59:15 +03:00
|
|
|
`pio check {{[-e|--environment]}} {{environment}}`
|
2021-03-28 20:26:38 +02:00
|
|
|
|
|
|
|
- Perform an analysis check and only report a specified defect severity type:
|
|
|
|
|
|
|
|
`pio check --severity {{low|medium|high}}`
|
|
|
|
|
|
|
|
- Perform an analysis check and show detailed information when processing environments:
|
|
|
|
|
2025-04-27 10:59:15 +03:00
|
|
|
`pio check {{[-v|--verbose]}}`
|