2022-08-02 03:04 AM
This code works OK and is an example of an image that is not stored in sectionExtFlashSection.
// Generated by imageconverter. Please, do not edit!
#include <touchgfx/hal/Config.hpp>
//LOCATION_PRAGMA("ExtFlashSection")
//KEEP extern const unsigned char image_piklogo[] LOCATION_ATTRIBUTE("ExtFlashSection") = // 800x480 RGB888 pixels.
LOCATION_PRAGMA("LogoSection")
KEEP extern const unsigned char image_piklogo[] LOCATION_ATTRIBUTE("LogoSection") = // 800x480 RGB888 pixels.
{
0xFF, 0xFF, 0x00, 0xFF, 0x00, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0x00, 0x00,
The problem is that this code is rewriten every time I generate code in TouchGFX designer.
Is there a different way to achive what I want.
2022-08-02 05:09 AM
Learn use LD linker file script and place arangement for imagepiklogo.o here. I mean this file isnt regenerated.