2025-12-20 12:23 PM - edited 2025-12-20 12:28 PM
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.
2025-12-20 12:28 PM
@Deepak.Aagri
For now Make is not supported .. "only" CMake is.
Let's generate your project from MX back selecting CMake as target.