-
PlatformIO Debugging
- Boosted PlatformIO Debugging performance thanks to migrating the codebase to the pure Python 3 Asynchronous I/O stack
- Debug unit tests created with PlatformIO Unit Testing solution (issue #948)
- Debug native (desktop) applications on a host machine (issue #980)
- Support debugging on Windows using Windows CMD/CLI (pio debug) (issue #3793)
- Configure a custom pattern to determine when debugging server is started with a new debug_server_ready_pattern option
- Fixed an issue with silent hanging when a custom debug server is not found (issue #3756)
-
Package Management
-
Improved a package publishing process:
- Show package details
- Check for conflicting names in the PlatformIO Trusted Registry
- Check for duplicates and used version
- Validate package manifest
-
Added a new option
--non-interactive
to pio package publish command
-
-
Build System
- Process "precompiled" and "ldflags" properties of the "library.properties" manifest (issue #3994)
- Upgraded build engine to the SCons 4.2 (release notes)
- Fixed an issue with broken binary file extension when a custom
PROGNAME
contains dot symbols (issue #3906) - Fixed an issue when PlatformIO archives a library that does not contain C/C++ source files (issue #4019)
-
Static Code Analysis
-
Updated analysis tools:
- Clang-Tidy v12.0.1 with new modules and extended checks list
- Cppcheck v2.5.0 with improved code analysis and MISRA improvements
- PVS-Studio v7.14 with support for intermodular analysis, improved MISRA support and new diagnostics
-
-
Miscellaneous
- Ensure that a serial port is ready before running unit tests on a remote target (issue #3742)
- Fixed an error "Unknown development platform" when running unit tests on a clean machine (issue #3901)
- Fixed an issue when "main.cpp" was generated for a new project for 8-bit development platforms (issue #3872)