2024-12-04 02:39 AM
Hi,
For a project I am currently working on, we have a unique custom board model on which we can flash different targets of a a same program.
Depending on the target, we can work with one of two different displays, a 240x320 and a 160x80.
For now, we two project TouchGFX, one for each display.
I understood that it not possible for TouchGFX Designer to handle several physical displays. Is it still the case ?
If so, is there a way to get around it ?
S. Marie
Solved! Go to Solution.
2024-12-10 06:02 AM - edited 2024-12-12 12:41 AM
Hello @SMarie ,
Indeed it is not possible to manage 2 screens with TouchGFX.
The walk around would be to make a GUI that is flexible by using scalable images, regular images with 2 assets (one for each size) and resize/load the right assets at the start of the GUI but this is definitely not what you should aim for in embedded projects.
The best answer is to simply make 2 projects, not so much because TouchGFX cannot handle it but because embedded projects are not meant to have this level of flexibility!
Regards,
2024-12-07 12:23 AM - edited 2024-12-07 12:26 AM
Your title Q isnt clean , but primary TGFX manage only image in memory, nothing more. Your hw driver and config transfer it to display. Then swap is based on your detection code and management... = possible
And tip for designer create screens for display 1 and too screens for 2 , then on start determine what loaded...
2024-12-10 06:02 AM - edited 2024-12-12 12:41 AM
Hello @SMarie ,
Indeed it is not possible to manage 2 screens with TouchGFX.
The walk around would be to make a GUI that is flexible by using scalable images, regular images with 2 assets (one for each size) and resize/load the right assets at the start of the GUI but this is definitely not what you should aim for in embedded projects.
The best answer is to simply make 2 projects, not so much because TouchGFX cannot handle it but because embedded projects are not meant to have this level of flexibility!
Regards,