PlatformIO Open Source November Updates
Improved PlatformIO IDE for Microsoft VSCode, PlatformIO Core bugfix release, Support for the latest ESP-IDF, Updated Arduino cores
Welcome to the November 2021 updates of PlatformIO Open Source professional collaborative platform for embedded development. This month we received a lot of helpful feedback from our community, which let us identify the most important parts of our OSS ecosystem that required our attention, so there are plenty of updates pushed in this month that we hope you will like.
During November, we released a new version of PlatformIO IDE for Visual Studio Code, rolled out updates for the Espressif32, Nordic nRF52, Raspberry Pi and ST STM32 platforms, fixed a lot of issues. Some of the key highlights include:
- PlatformIO IDE for Visual Studio Code v2.4
- PlatformIO Core 5.2.3
- ESP-IDF v4.3.1
- Espressif32 dev-platform v3.4
- ST STM32 dev-platform v15.1
- Nordic nRF52 dev-platform v9.1
- CHIPS Alliance dev-platform v1.1
- Arduino Core for mbed-enabled devices v2.6.1
- Stay in touch with us
PlatformIO IDE for Visual Studio Code v2.4
We are pleased to announce a new release v2.4
of PlatformIO IDE for Visual Studio Code that brings new functionality for project workspaces, updated installer and several bugfixes:
- Added named status bars: “PlatformIO: Toolbar” and “PlatformIO: Project Environment Switcher” (ability to hide them separately) (issue #2593)
- Added “Verbose Check” project task
- Synchronize VSCode workspaces with PlatformIO Home Projects (requires PlatformIO Core 5.2.3 or above) (issue #1367)
- Automatically switch to newly created project’s environment (issue #2414)
- Fixed an issue when “Copy to Clipboard” does not work in PlatformIO Home on macOS (requires PlatformIO Core 5.2.3 or above) (issue #2570)
- PlatformIO IDE Installer
- Updated installer script to 1.1.0
- Check global PlatformIO Core installation when built-in is disabled
- Handle “Could not find distutils module” error on Linux
- Rebuild project IDE configuration on “platformio.ini” change
See Release Notes for more detailed information.
PlatformIO Core 5.2.3
PlatformIO Core is the heart of the whole PlatformIO ecosystem and we are excited to announce the next v5.2.3 release with lots of great improvements and bugfixes:
- Automatically synchronize active projects between IDE and PlatformIO Home
- Added support for custom device monitor filters (issue #3924)
- Show human-readable message when infinite recursion is detected while processing Interpolation of Values (issue #3883)
- Improved directory interpolation (
${platformio.***_dir}
) in “platformio.ini” configuration file (issue #3934) - Ignore resolving of SCons variables (e.g.,
${(SOURCE.get_abspath())}
) when preprocessing interpolations (issue #3933) - Added “inc” as a sign that it’s the root of the library (issue #4093)
- Fixed an issue when the
$PROJECT_DIR
variable was not properly replaced in the debug_server option (issue #4086) - Fixed an issue when PIO Remote device monitor crashes on the first keypress (issue #3832)
- Fixed “Do not know how to make File target ‘debug’” issue when debugging project using CLion IDE (pull #4089)
- Fixed “UnicodeEncodeError” when a build output contains non-ASCII characters (issue #3971)
- Fixed an issue when VSCode’s debugger does not the honor default environment (issue #4098)
See Release Notes for more detailed information and use pio upgrade command to update to the latest version.
ESP-IDF v4.3.1
We’re happy to announce updated support for the latest stable ESP-IDF v4.3.1 - the official development framework for the ESP32, ESP32-S and ESP32-C Series SoCs. It provides a self-sufficient SDK for any generic application development on these platforms, using programming languages such as C and C++. ESP-IDF currently powers millions of devices in the field, and enables building a variety of network-connected products, ranging from simple light bulbs and toys to big appliances and industrial devices.
Major enhancements in the latest release:
- Improvements to Classic Bluetooth and BLE
- Speeded up Ethernet start up process
- Updated mbedTLS
More information on project configuration for ESP-IDF can be found here.
Related resources for ESP-IDF:
Espressif32 dev-platform v3.4
The new release of the Espressif 32 dev-platform comes wit the latest ESP-IDF, updated toolchain packages and several minor fixes and improvements:
- Updated ESP-IDF to the latest 4.3.1 (release notes)
- Updated toolchains for ESP-IDF to v8.4.0
- Fixed partition offset calculation process
- Fixed a regression with incorrect flash modes used for uploading
- Fixed an issue with incorrect command used for embedding plain files in IDF-based projects
See Release Notes for more detailed information.
Related resources for the Espressif32 dev-platform:
ST STM32 dev-platform v15.1
The latest ST STM32 v15.1.0 brings support for the latest Arduino core for mbed-enabled boards and updated ldscripts
package that includes the latest MCU targets:
- Updated Arduino Core for mbed enabled devices to
v2.6.1
(release notes) - Updated the
ldscripts
package to include the latest MCUs (#563) - Minor fixes and improvements (#576, #582)
See Release Notes for more detailed information.
Related resources for the ST STM32 dev-platform:
Nordic nRF52 dev-platform v9.1
The new Nordic nRF52 v9.1.0 comes with the latest Arduino cores for Adafruit and mbed-enabled boards:
- Updated Arduino Core for mbed enabled devices to
v2.6.1
(release notes) - Updated Arduino Adafruit core to
v1.2.0
(release notes) - Minor improvements (#129)
See Release Notes for more detailed information.
Related resources for the Nordic nRF52 dev-platform:
CHIPS Alliance dev-platform v1.1
The latest CHIPS Alliance v1.1 is mostly a maintenance release that brings several important bugfixes and improvements for Imagination Technologies “RVfpga: Understanding Computer Architecture” course.
- Updated the OpenOCD package to v0.11
- Updated default FPGA bitstream
- Updated default upload command
See Release Notes for more detailed information.
Related resources for the CHIPS Alliance dev-platform:
Arduino Core for mbed-enabled devices v2.6.1
The ST STM32, Nordic nRF52 and Raspberry Pi RP2040 dev-platforms have been updated to support the latest Arduino Core for mbed-enabled devices v2.6.1. According to the release notes, v2.6.1 brings a lot of bugfixes and improvements in core and bundled libraries.
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!