Skip to main content
JimFouch
Associate III
November 26, 2019
Question

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?

  • November 26, 2019
  • 2 replies
  • 621 views

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.

This topic has been closed for replies.

2 replies

Martin KJELDSEN
Principal III
November 29, 2019

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
JimFouchAuthor
Associate III
December 6, 2019

Thank you Martin.

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