2021-07-19 04:14 AM
In my current project I am using CubeMX to generate the proper code and drivers for my stm32H7.
The outcome of this generation is only a part of the needed project, I also have several SW infrastructure layers which are
Supposed to be above the generated CubeMX code.
Is there an efficient way to generate the project with the cube while controlling its structure?
(meaning the hierarchy and file structure of the project)
Thanks in advance,
2021-07-19 05:45 AM
Depends on what means efficient for you. It's like in fast, good, cheap - pick any two.
2021-07-19 05:58 AM
hi :)
i want to create a project which contains the cubeMX generated code but this code is in a specific place hierarchy wise.
i don't want to do it by hand every time. (generating cube code -> placing it in proper directory ----> creating hierarchy ....).
perhaps this will be clearer - My main goal is to be able to generate the cubeMX code in my own template into my own specific directories. is there such an ability?
2021-07-19 06:49 AM
CubeMX doesn't let you configure where to put files in the hierarchy.
Personally, I would only generate CubeMX code once, move it to where you want it, then update that code manually if things change.