Known issues

Complex project creation

Issue : Complex projects created using the empty project feature are incorrectly set up as non-complex.

Example : H7 dual-core projects are created as single-core.

Cube command not available on Windows with Git Bash

Issue : The cube command is not available when using Git Bash on Windows.

Workaround : Windows users must configure their environment manually, for example, by editing .bashrc or Visual Studio Code settings.

libncurses5 dependency on Linux

Issue : Debug sessions may fail due to a missing libncurses5 dependency.

Note : Fixed. Dedicated STM32Cube bundles provide GNU Tools for STM32 assets. Update if possible.

Workarounds :

  • Ubuntu 22.04: Install with:

    sudo apt-get install libncurses5
    
  • Ubuntu 24.04: - Use the following commands to install the library manually:

    wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.4-2_amd64.deb && sudo dpkg -i libtinfo5_6.4-2_amd64.deb && rm -f libtinfo5_6.4-2_amd64.deb
    wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ncurses/libncurses5_6.4-2_amd64.deb && sudo dpkg -i libncurses5_6.4-2_amd64.deb && rm -f libncurses5_6.4-2_amd64.deb
    
  • Fedora 43: Install the required libraries with:

    sudo dnf install ncurses-compat-libs
    

Clangd indexing dependency on zstd library on macOS

Issue : Clangd indexing does not work on macOS due to a missing zstd library.

Workaround : Install Homebrew and then run:

brew install zstd

CMake error with Visual Studio Code installed via the Snap Store on Ubuntu

Issue : CMake fails to discover projects when Microsoft Visual Studio Code is installed via the Snap Store.

Workaround : Install Visual Studio Code using another method, for example, download the .deb package directly from the official website or use an alternative package manager such as apt or flatpak .

Creating an empty project while offline

Issue : When creating an empty project while offline, a faulty project is generated.

Workaround : Go online when creating the project. It is then safe to return to offline mode.

Integrating STM32CubeIDE for Visual Studio Code into dev container

Issue : When integrating STM32CubeIDE for Visual Studio Code into a dev container, the extension does not function correctly because Visual Studio Code displays a dependency issue message.

Workaround : Refer to the community article How to integrate the STM32CubeIDE for Visual Studio Code extension to Dev Container.