Question
How to store images for Touchgfx to external flash
I use w25q128 as an external spi nor flash for stm32f429 discovery kit because internal flash is not enough to store lots of images. I can read and write the flash by the library but I do not know how to connect it with touchgfx files.
Below declarations are added into FLASH.ld file:
SPIFLASH (r) : ORIGIN = 0x90000000, LENGTH = 4Mand
ExtFlashSection :
{
*(ExtFlashSection ExtFlashSection.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >SPIFLASH
FontFlashSection :
{
*(FontFlashSection FontFlashSection.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >SPIFLASH
TextFlashSection :
{
*(TextFlashSection TextFlashSection.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >SPIFLASH
