PlatformIO Core 6.2 🚀
A professional collaborative platform for declarative and test-driven embedded development
We are excited to announce the release of PlatformIO Core 6.2.0, bringing improved compatibility with modern Python environments, a more streamlined device workflow, an updated build engine, and a range of fixes focused on reliability, security, and developer experience.
This release also raises the minimum supported Python version to 3.9, reflecting the continued evolution of the Python ecosystem and its tooling.

Table of Contents
- Highlights
- Security improvement
- Reliability and compatibility improvements
- PVS-Studio support removed
- Upgrade
- Stay in touch with us
Highlights
In this section, we are going to highlight the most important changes and features introduced in PlatformIO Core 6.2. Please visit PlatformIO Core 6.2 Release Notes for more detailed information.
Python 3.9+ is now required
PlatformIO Core 6.2.0 drops support for Python 3.6, 3.7, and 3.8. Python 3.9 or newer is now required to run PlatformIO Core.
If you are using an older Python version, upgrade your Python installation before updating PlatformIO Core.
Streamlined port configuration
The pio run command now provides a new -p, --port option. It allows you to specify the device port once and have it applied to both upload_port and monitor_port, making common build, upload, and monitoring workflows simpler.
For example:
pio run -p /dev/ttyUSB0
This is particularly useful when the same serial port is used for both uploading firmware and monitoring the device.
More control over environment checks
PlatformIO Core 6.2.0 introduces additional configuration options for users working in customized development environments.
You can now disable the 99-platformio-udev.rules check when system-level udev configuration is not required. A new PLATFORMIO_DISABLE_UPGRADE_CHECK environment variable also allows upgrade availability checks to be disabled when needed.
Updated SCons build engine
The build engine has been upgraded to SCons 4.11.1, bringing improvements in build performance, reliability, and compatibility with other tools and systems.
Improved package handling
PlatformIO Core now supports longer dependency version specifications, including long package URLs in project manifests.
On Windows, package extraction now detects path-length-related FileNotFoundError conditions and reports a descriptive error with instructions for enabling Windows long paths.
More accurate unit testing output
Unit Testing output has been improved when environments or test suites are filtered with -e or -f. Skipped environments and test suites are now omitted from the summary, making the reported results easier to understand.
This release also fixes several issues affecting unit testing on Windows, test status reporting, and test framework dependencies.
Security improvement
PlatformIO Core 6.2.0 includes an important security fix for ZIP archive extraction.
Previously, ZIP archives containing relative path traversal entries such as ../ could potentially modify permissions or timestamps of files outside the intended destination directory. The package extraction process has been fixed to prevent this behavior.
We recommend that all users update to PlatformIO Core 6.2.0.
Reliability and compatibility improvements
This release addresses a broad range of issues across the PlatformIO Core ecosystem, including:
- Fixed an infinite retry loop when a cached package mirror redirect repeatedly failed.
- Fixed library integrity metadata not being invalidated after invalid version requirements were corrected.
- Fixed
pio device monitorfailures when using a relative path with-d, --project-dir. - Improved compatibility with
pipx- anduvx-managed environments by ensuring the requiredpipdependency is available for Python-based tool packages. - Fixed compilation failures caused by debug flags with level specifications, such as
-g2, being incorrectly passed to standalone assemblers for.sfiles. - Fixed floating-point precision issues in duration formatting that could result in incorrect millisecond values.
- Fixed
pio device monitorhandling of redirected or non-TTYstdin, replacing an unhandledtermiostraceback with a clear user-facing error. - Fixed static analysis reports generated incorrectly when projects were analyzed in verbose mode.
- Fixed unintended removal of test framework libraries from project dependencies when building outside testing mode.
- Fixed relative header paths supplied through
-includebuild flags not being converted to absolute paths inc_cpp_properties.json, which could cause IntelliSense errors.
PVS-Studio support removed
Support for static code analysis with PVS-Studio has been removed following its deprecation by the vendor.
Upgrade
- PlatformIO IDE: Left Sidebar > PlatformIO (icon) > Quick Access > Upgrade PlatformIO Core
- Terminal: Please run
pio upgradecommand in terminal.
Stay in touch with us
Stay tuned to this blog or follow us on LinkedIn and Twitter @PlatformIO_Org to keep up to date with the latest news, articles and tips!


