Installation

To get the full experience with STM32CubeIDE for Visual Studio Code, follow these steps:

  1. In Visual Studio Code, select the Extensions icon in the Activity Bar.

  2. In the Extensions Marketplace, search for “STM32”.

  3. Select “Install” to add the STM32 extension.

Screenshot of the STM32CubeIDE for Visual Studio Code extension in marketplace showing the "install" button.

Cherry-picking extensions

To install only specific parts of the STM32 extension, select and install individual extensions as needed. This approach enables customization of you development environment.

To install a specific version using the command-line interface, see the Install a specific bundle version chapter.

Note

If migrating from STM32 VS Code Extension 2.0 , see the Migrating from STM32CubeIDE for Visual Studio Code extension 2.x to 3.x chapter.

If new to STM32 development in Visual Studio Code , see the First project creation chapter to start your first project.

Installing drivers

Note

For the current release version, users must install debug probe drivers manually because administrator privileges are required. This process will be improved in future updates.

When setting up STM32CubeIDE for Visual Studio Code, install the required drivers to enable communication between the development board and the computer. Follow the instructions below to install drivers for ST-Link and SEGGER J-Link.

Proxy configuration

Some users have connections protected by company network security protocols. In most cases, a proxy or certificate configuration is required.

For more information about configuring a proxy or certificate, see the How to configure the proxy or certificate for STM32CubeIDE for Visual Studio Code community article.