2021-09-22 02:31 AM
Dear Sirs,
I have developed FDCAN and UART code that is going to be common for several projects I build for the same microcontroller - stm32H7 series one.
I have exported hardware configuration to separate files and that will be included over other projects.
Problem is that CubeMX do not inslude uart and fdcan drivers when you do not select it in GUI. But when I selec then it includes all basic GUI configuration that I do not want to have in my main. c file. Simply I delete it every time I edit something in .ioc file.
Maybe there is a way to configure project that it will inculde all needed stuff for Uart and FDCAN without geerating GUI configured initialization?
Regards,
Chris
2021-09-22 06:05 AM
There's no way to do this for STM32CubeIDE that I know of. You can do it for other toolchains.