StickyQuestion
New STM32CubeIDE for Visual Studio Code 3.11.0 released
Pleased to announce that the new release 3.11.0 of STM32CubeIDE is online
Features
- Project Creation Modes: Two distinct modes for project creation are supported, offering flexibility in development workflows:
- STM32CubeMX Projects: Supports project creation with integrated CMake, enabling streamlined configuration and management.
- Empty Projects: Allows for the creation of bare projects with CMake, providing a clean slate for custom development.
- Cube Discovery Process: Project import step, designed to allow STM32 developers to easily move legacy CMake code bases into STM32CubeIDE for Visual Studio Code and configure the tooling properly.
- Edit & Compile Tools: The following edit and compiler tools part of the package:
- clangd indexing: Helps developers navigate, write, understand, and improve C/C++ code.
- Microsoft CMake Tools: Provides developer a full-featured, convenient, and powerful workflow for CMake-based projects in Visual Studio Code.
- Build Analyzer: A new build analyzer has been developed, offering insights into linked elf-file, helping developers troubleshoot and optimize the code.
- Debug features: The following debug features are added on top of standard VS Code debug features:
- Board manager: The board manager view allows developers to show the ST-LINK serial number and update the ST-LINK firmware.
- Simplified Debugging: A new ST provided Debug Adapter Protocol (DAP) implementation supporting ST-LINK and SEGGER J-Link probes, simplifying the setup and launch of debug on STM32 devices.
- Embedded Peripheral Inspector: Helping developers to debug peripheral registers. Open-source fork.
- Enhanced RTOS debug: The existing open-source debug views have been complemented with two additional tree views showing additional kernel objects as well as the full call stack for all RTOS threads. Supported RTOSes are FreeRTOS and ThreadX.
- Serial terminal: Enabling developers to easily setup serial communication for example leveraging the ST-LINK virtual com port.
- Bundle Manager View: A dedicated view for managing bundles has been introduced, simplifying downloads, updates and activation of bundles in system and project context.
- Cube CLI Command: The cube CLI command is available, a CLI wrapper which will over time will provide developers with a powerful CLI toolbox.
Breaking Changes
- Complete architecture redesign: The tool architecture has been split into three major building blocks with the purpose of creating a flexible, maintainable and updatable platform consisting of the following blocks: GUI, CLI tools and STM32 device support.
- GUI: The platform's single extension has been transformed into an extension pack, offering a more modular, updatable and flexible setup.
- CLI tools: A new bundle manager is enabling VS Code to download required CLI tools. This replaces the all-in-one STM32CubeCLT package. The bundle manager will provide developers flexibility, updatability and re-producibility in terms of CLI tooling.
- STM32 device support: The STM32 device support is decoupled from VS Code and sourced via CMSIS-PACK DFPs. Developers can now start using a new MCU without having to install a new STM32CubeCLT package.
- Simplified Debugging: A new ST provided Debug Adapter Protocol (DAP) implementation supporting ST-LINK and SEGGER J-Link probes, simplifying the setup and launch of debug on STM32 devices.
- Clangd Integration: The update now relies on
clangdfor managing C/C++ code indexing, enhancing code navigation and analysis capabilities. - Auto-Discovery of STM32Cube Projects: This feature automatically detects STM32Cube projects, streamlining the setup and configuration process.
