cancel
Showing results for 
Search instead for 
Did you mean: 

CMake support for STM32CubeIDE and STM32CubeMX?

Southbranch
Senior II

Hi!

CMake now seems to be supported for STM32CubeIDE which is great. But how will CMake work with GPIO-configuration and STM32CubeMX when staring a CMake project from sqratch?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Pavel A.
Evangelist III
6 REPLIES 6
Pavel A.
Evangelist III

CMake is a build tool. GPIO configuration is not its purpose. Neither is it a IDE.

 

 

Ok thanks, but let me try to rephrase the question.

Is there a way to let STM32CubeMX configure GPIO:s and update necessary code files in STM32CubeIDE after starting up a CMake project from sqratch? (in the same way as when after starting up a standard STM32 make project)

Pavel A.
Evangelist III

AFAIK not yet. 

I have similar condudrum.  Its nice the IDE has cmake options, but MX doesn't have anything.  Let me know if you found anything since!

 

No, I am afriad I have no news..

Just hoping the CubeMX support will come eventually :smiling_face_with_smiling_eyes:

 

jerry_sandc
Associate III

I've had to play games creating project in IDE, for both cmake based, and then STM32 eclipse project.  I then took those projects and made my own cmake project 'from scratch'.  I'm having some success building and running the elf file on the evaluation board target.   Maybe i'll make a nice long post one day how I did this. :grinning_face: