Associate III
October 7, 2024
Solved
TouchGFX generates invalid code
- October 7, 2024
- 1 reply
- 733 views
The following sequence leads to invalid code being generated:
1. start a new project in TouchGFX (simulator or board)
2. add a custom container
3. add a static graph element named 'graph' inside the custom container
4. generate code - code is fine and compiles good both in simulator and target
5. close TouchGFX and re-open the project
6. generate code without any modification
Generated code is buggy both in CustomContainer1Base.hpp and CustomContainer1Base.cpp: the string "graphLine1" is missing anywhere in code.
7. delete 'Line' element from graph
8. add a 'Line' element on graph
9. generate code - code is good again
TouchGFX v.4.24.1
Not a blocking bug (I can revert generated code from git), but it is annoying...
Alessandro
