Hardfault created when changing working TouchGFX project to Generate peripheral initialization as a pair of '.c/.h' files
I have a working touch GFX project. I want to break out the individual peripheral initializations, so I open the ioc file in cubeMX and Check to Generate peripheral initializations as a pair of '.c/.h' ... in the Project manager.
The code builds, but when I debug it immediately goes to hard fault before is gets thru MPU_Config
I created another touchGFX project the only has one screen and only loads a background. After verifying that it runs I tried to Generate peripheral initializations as a pair of '.c/.h' . and this will not build because non of the peripherals .h files were created (crc.h, dma2d.h etc..)
How can I create a touchGFX project without having all the peripherals in main.c?
