2023-08-17 02:19 AM
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?
Solved! Go to Solution.
2023-08-18 10:03 AM
AFAIK not yet.
2023-08-17 03:27 AM
CMake is a build tool. GPIO configuration is not its purpose. Neither is it a IDE.
2023-08-18 06:18 AM
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)
2023-08-18 10:03 AM
AFAIK not yet.
2023-09-11 10:49 AM
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!
2023-09-11 11:10 AM
No, I am afriad I have no news..
Just hoping the CubeMX support will come eventually :smiling_face_with_smiling_eyes:
2023-09-25 07:34 AM
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: