2021-09-20 12:00 AM
So my project started to build custom hardware instead of using DISCO board. This mean needs to write my own LCD init code but I don't know where should I put it. With respect to the code skeleton generated by CubeMX for TouchGFX, which file I should insert this specific LCD init code?
2021-09-21 06:37 AM
Hi,
I believe you should put it in the main.c generated by STM32CubeMX in the core/src folder. Or are you talking about driver code ? In that case you could add it under the Drivers/BSP (BSP stands for Board Support Package) folder like we do for the TBSs available in TouchGFX Designer.
/Romain