2018-03-29 02:34 AM
I am trying to separate the code generated by CubeMX from the code I wrote, and mainly, I want to move the pins definitions from the main.h file to my own file.
I know there is a template file that can be loaded in the Cube, but I am not sure if there is an option for generating code to a specific file.
Does anybody know a way how to do it? I want to have the pin definitions in my own file (io_mapping.h).Thanks a lot!
#template #stm32cubemx #code-generation #pin-mapping #customize