TouchGFX Custom Application FLASH Overflow Issue & QSPI Memory Setup
Subject: TouchGFX Custom Application FLASH Overflow Issue & QSPI Memory Setup
Greetings Team,
I’m new to STM32 TouchGFX and trying to create a custom TouchGFX application following How to integrate TouchGFX in a custom board (The long way round) - YouTube
After setting everything up, I encountered the following error during the build:
`.text' will not fit in region `FLASH' region `FLASH' overflowed by 296512 bytes
I understand that my MCU has only 128KB of Flash, which is insufficient for TouchGFX. I want to configure TouchGFX to use only SDRAM instead of Flash. How does TouchGFX utilize SDRAM, and how can I correctly set it up for this purpose?
Additionally, when comparing my custom application to the STM32H7 Dev Board example, I noticed different memory configurations in the Cortex-M7 section under System Core. Specifically, I don’t fully understand how QSPI Flash is mapped as two memory regions starting from 0x90000000.
I've attached a screenshot for reference. Kindly guide me on resolving the FLASH overflow issue and understanding the QSPI memory setup.
Thanks in advance!

