AnsweredAssumed Answered

CubeMX to generate code to user-specified files

Question asked by oltean.andreea on Mar 29, 2018

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!

Outcomes