cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX support for Cmake

yourigh
Associate II

Hello, 

I would like to use the offical VScode extentention together eith STM32CubeMX.

The guide says I need to set up MX generator Toolchain / IDE to Cmake.

However I have no such option:

yourigh_0-1713210486041.png

 

How could I use the extention with CubeMX?
I remember the option was there about a year ago on a different MCU (F3).


I have STM32F103C8.

Thank you!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hi @yourigh ,

Try with the latest release (Version 6.11.0)

ImenD_0-1713252211479.png

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

6 REPLIES 6
AScha.3
Chief III

Hi,

if you choose : makefile ...?

If you feel a post has answered your question, please click "Accept as Solution".
Imen.D
ST Employee

Hello @yourigh,

Please try with latest release of STM32CubeMx (V 6.11.0).

ImenD_0-1713212007153.png

AN5952 This application note describes how to use CMake in STM32CubeIDE.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

unfortunately, this does not work then in VScode. It would be possible but it would require a manual setup without the extension.

Thanks for the reply,

I do have exactly that version, under Windows. But I don't have the last option there. Do you have any recommendation what I can do?

yourigh_0-1713215976192.png

 

Imen.D
ST Employee

Hi @yourigh ,

Try with the latest release (Version 6.11.0)

ImenD_0-1713252211479.png

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Thank you, it works. 

I updated the Cube, but it did not go through because of the rights error, so I thought I have the latest one. After the successful update, it started to work.