2020-09-16 02:09 PM
hi, i have a little problem. i'm using stm32f4 and i want to run touchgfx. i generate code and i copy image to an array then i wrote array in binary format... all thing is good but when array size increase . i have below error.
Not enough information to list load addresses in the image map.
char mypath[]="image_bg.bin";
res2=f_open(&myfile,mypath,FA_WRITE|FA_CREATE_ALWAYS);
res3=f_write(&myfile,image_bg,sizeof(image_bg),&bytewritten);
f_close(&myfile);
2020-09-17 03:20 AM
Hello,
What are you trying to do exactly ? Why are you using a binary image ?
You could use a dynamic bitmap to load the image from sd card to RAM and use it at will.
Have a look at
https://support.touchgfx.com/docs/development/ui-development/scenarios/loading-images-at-runtime
/Alexandre