製品概要
概要
STM32Cube for Visual Studio Code (STM32VSCode), in short STM32Cube for VS Code, is a powerful C/C++ development tool based on Microsoft® VS Code®. It expands the STM32Cube software ecosystem with the support for the full STM32 MCU portfolio in VS Code®.
STM32Cube for VS Code is STMicroelectronics' proposal to the developers who prefer the VS Code®-style development experience over the more GUI-rich STM32CubeIDE user experience.
STM32Cube for VS Code offers a rich feature-set with a focus on code editing. The editor is, by default, powered by clangd. CMake and Microsoft® CMake Tools extension drive the build system, offering great flexibility, compiler freedom, and minimum tool lock-in.
Furthermore, VS Code® offers a rich marketplace allowing developers to extend the tool with additional features.
Unlike STM32CubeIDE, STM32Cube for VS Code is not an all-in-one preintegrated tool. Instead, it is composed of three individually updatable building blocks:
- VS Code® extensions, which provide the GUI experience inside VS Code®. Extensions are separated into feature blocks to allow updatability and flexibility of end-user installation.
- Bundles, which are CLI tools downloaded, installed, and updated by the bundle manager. Bundles include CMake, Ninja, compilers, debuggers, and more.
- CMSIS-Packs, which provide device support for STM32 MCUs. The packs include startup code, linker scripts, svd-files, and more.
This architecture split allows tool updates independently from STM32 microcontroller product launches. It opens the way to more frequent updates in terms of features and bug fixes.
STM32Cube for VS Code is a new software tool with a completely new tool architecture. As such, it is published on the VS Code® marketplace as a prerelease to indicate its beta status. ST develops and matures the tool together with the STM32 developer community to offer a set of features comparable to STM32CubeIDE.
-
特徴
- Project creation and import
- Project wizard to create empty CMake projects
- Import of STM32CubeMX projects using the STM32CubeMX CMake exporter
- Powerful editor features
- Intelligent code completion, navigation, refactoring, and formatting
- CMake-based build system
- Adoption of open standards instead of proprietary project formats
- Removal of entry barriers
- Interoperability with third-party tools
- Fast build of large code bases with CMake and Ninja build tools
- Adoption of open standards instead of proprietary project formats
- Debugging for STM32 MCUs
- ST DAP implementation with support for ST-LINK and SEGGER probes
- Debugging features on top of native VS Code® debugging features:
- Peripheral registers
- Memory inspector
- FreeRTOS™ kernel and ThreadX® debugging
- Fault analyzer
- Integrated serial terminal
- Version control
- Support for Git™ or other version control systems
- High customization level
- Key bindings, user code snippets, task runner, multiple themes through the VS Code® marketplace
- Host OS support
- Windows®
- Linux®
- macOS®
- Project creation and import