cancel
Showing results for 
Search instead for 
Did you mean: 

I'd like to give my users the ability to chose skins at run-time. Is there a way to divert the calls to get button images from internal/external FLASH and load them from the an external source like an SD Card?

JimFouch
Associate III

I'm pretty new to STM32 & TouchGFX. I'm building a device based on the STM32H743 with 8MB SDRAM & either 64 or 128MB QSPI FLASH. I will also embed a 2GB uSD card for extra storage.

My initial idea is to have a few skins available and stored as extra data on the QSPI FLASH and additional ones that could be downloaded by users and then have the function that return that images diverted to the area & offset to the additional skin. I'd also probably need to address text color and screen backgrounds.

2 REPLIES 2
Martin KJELDSEN
Chief III

You could use a Dynamic Bitmap to load the data from SD-Card and use that as a Bitmap for your Button. Same for your backgrounds.

Colors are easy since you just have to map user selection into some RGB value that you set on the textareas.

JimFouch
Associate III

Thank you Martin.

I'm new to TouchGFX and the STM32 in general, but loving it so far.