2022-06-24 01:23 AM
Hello,
I'm discovering the different widgets of Touch GFX. I stumbled upon a problem I do not know how to solve and I haven't found the answer on the internet.
I'm working with the board Riverdi_101STM32H7 (chosen in the list of available boards).
When I create a text area (or a button with text, text progress, digital clock), I encounter this problem when I generate the code.
Generate Code
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
ERROR: Attribute 'Direction' not specified in line 8 for <Text Id="__SingleUse_FCFO">
An error occurred during text convertion
Cleaning generated files from generated/texts and generated/fonts.
generated/simulator/gcc/Makefile:225: recipe for target 'texts' failed
make[1]: *** [texts] Error 1
simulator/gcc/Makefile:32: recipe for target 'assets' failed
make: *** [assets] Error 2
Failed
Failed
I checked the direction of the typography is LTR so it is specified in there at least.
When I'm working with the simulator or an other board I do not encounter the problem (ex:STM32F756G Evaluation kit).
Here's the program versions I'm using.
I changed the automatic Compile Target Command from version 1.8.0 to 1.9.0 (c:/ST/STM32CubeIDE_1.9.0/STM32CubeIDE/stm32cubeidec.exe --launcher.suppressErrors -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import ../../STM32CubeIDE/CM7/ -cleanBuild Riverdi_101STM32H7_CM7)
I have also tried the demo of the board Smart Home but it fails to generate the code because of the text areas, too.
Thanks in advance for your answer,
Eve
Solved! Go to Solution.
2022-06-28 12:57 AM
Hello again,
This is now fixed in TouchGFXDesigner v4.20.0.
/Yoann
2022-06-27 03:03 AM
Hello @ELero.1 ,
Thanks for reporting this issue.
We investigated and found out where the problem came from.
In the .touchgfx project file, the TouchGFX version is updated to 4.19.1, which is correct. But, it seems like CM7>Middlewares>ST>touchgfx folder is included with the TouchGFX Board Setup for this board, and unfortunately those file are still under the 4.18.1 version. So, there is a mismatch between generated files and TouchGFX project versions.
We will contact Riverdi to discuss this issue.
In the meantime, you could use a little work-around to make your code generation work :
Hope that this helped you,
/Yoann
2022-06-28 12:57 AM
Hello again,
This is now fixed in TouchGFXDesigner v4.20.0.
/Yoann
2022-06-28 04:25 AM
Hello,
Thank you so much @Yoann KLEIN for your fast answer. I tested the smart home demo and it worked perfectly fine with the new version.
Kind regards,
Eve
2022-11-05 07:40 AM
TouchGFX version 4.20.0
Stm32cube version 1.8.0
2022-11-06 06:55 PM
Hi,
Could you specify which TouchGFX Board Setup or which Board Specific Demo you used exactly ?
/Romain