As you know we can connect a TFT LCD to the STM32 MCU in two main methods: FSMC or GPIO. The FSMC is for the MCUs which at least have 100 Pins I think (we can use CubeMX to initialize it), and for the smaller ones, we have to use the GPIO.
I use the CubeMX and HAL libraries for the projects. I searched for many examples but I could not understand where the user should define or initialize the MCU GPIO Port for the LCD. PORTA or PORTB or whatever.
I have the chipset driver from STM examples which includes ili9325.c and ili9325.h.
examples are a bit confusing.