How to save an image in different section then ExtFlashSection
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-08-02 3: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.
Labels:
- Labels:
-
TouchGFX
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-08-02 5:09 AM
Learn use LD linker file script and place arangement for imagepiklogo.o here. I mean this file isnt regenerated.
