cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX to generate code to user-specified files

anio1491
Associate II
Posted on March 29, 2018 at 11:34

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
0 REPLIES 0