Skip to main content
Deepak.Aagri
Associate III
December 20, 2025
Solved

STM32 VS Code Extension: “Setup STM32Cube project(s)” disabled for STM32N CubeMX Makefile project

  • December 20, 2025
  • 1 reply
  • 777 views

I am working with an STM32N series MCU (STM32N657 / NUCLEO-N657X0-Q) and project generated with STM32CubeMX (Toolchain = Makefile).
The workspace root contains:
• GPIO_IOToggle.ioc
• Makefile

However, in VS Code (latest version) with STM32 VS Code Extension installed, the option “Setup STM32Cube project(s)” remains disabled (Greyed out).

The project builds and debugs correctly when .vscode/launch.json is created manually, so the project itself is valid.

Expected behavior:
The extension should allow setup of existing CubeMX-generated Makefile projects, not only projects created via the extension or CLT.

Environment:
• macOS
• STM32CubeMX (GUI)
• STM32CubeCLT installed
• VS Code latest

This appears to be a UX limitation or detection bug.

Best answer by Cartu38 OpenDev

@Deepak.Aagri 
For now Make is not supported .. "only" CMake is.
Let's generate your project from MX back selecting CMake as target.

1 reply

Cartu38 OpenDev
Cartu38 OpenDevBest answer
Graduate II
December 20, 2025

@Deepak.Aagri 
For now Make is not supported .. "only" CMake is.
Let's generate your project from MX back selecting CMake as target.