We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, we'd like to compile some large image files into our project, have the data available to stream to a display peripheral via LTDC+DSI peripherals. I tried to get cute and created a desktop program that imports pictures and generates C functions to set memory locations, like:
void InitImageData_Untitled_400x400_To(uint32_t img_address) { *(uint32_t*) (img_address + 0x00000000) = 0xFF00A400; //... }
except for larger images this function gets impossibly large and crashes my compiler. :)
So I'm done being clever, and I'm asking the experts about the Right way to do this. What is the easiest way to compile bulk image data into a program for access during runtime?
Thanks very much!