cancel
Showing results for 
Search instead for 
Did you mean: 

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

Deepak.Aagri
Associate III

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.

1 REPLY 1
Cartu38 OpenDev
Lead III

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