Problem with caching extra section of images in L8 format stored in external memory.
Hello,
I'm using TouchGFX 4.13 on STM32H7
I have problem while using images in L8 format and caching them (section and extra section) from external memory.
When I want to store image in external memory in L8 format then I set both: 'Section' and 'Extra Section' to 'ExtFlashSection' in TouchGFX Designer. During 'Bitmap::cache()' call the overridden 'HAL::blockCopy' method properly copies image bytes (that is the first call to 'blockCopy'). But when second call to 'blockCopy' is made, the caller (which still is 'Bitmap::cache()') just tries to copy always only 4 bytes, thus the colors palette (I suppose it is the palette) is not copied, so image is not displayed properly.
But when I change 'Extra Section' only to 'IntFlashSection' in TGFX Designer then the image is displayed properly.
Is that a bug? Or it is intentional, if so, what is the reason for such implementation?
