Stacksize of TouchGFX Task
Hi @Martin KJELDSEN
Hi @Alexandre RENOUX
I have general questions about the required stack size for the touchgfx task. I'm observing that required stack size of the touchgfx task varies even when the same screen is displayed. To my understanding it should be always the same. Is that correct?
I observe this behaviour on screens which uses ScrollList or a scrollable container. In some cases the stack size increases when scrolling, but not every time and it is in my opinion independent from slow oder fast scrolling.
The measured maximum required stacksize is about 14kByte. The maximum allowed stacksize for the touchgfx task is 16kByte. But in very seldom cases, I'm getting a stackoverflow of touchgfx task and I can not reproduce this reliable.
Is it possible to calculate the maximum required stacksize?
Or is it possible to readout this information somewhere in the system? (e.g. MVPHeap? Simulator?)
Does the transition have an impact on the stacksize, e.g. which screen was the last screen. I always use NoTransition.
Some Information about the used system (maybe it is helpful):
- TouchGFX version 4.16.0
- The "worst case" screen contains:
- about 20 basic elements (textarea with wildcards / images / buttons)
- scrolllist with 8 visible elements. 1 elements contains a text with wildcard and 24 boxes to to display every hour of a day.
Thanks
Best regards
Marco
