Riverdi_101STM32H7 text direction not specified problem [solved]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-24 1: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.
- TouchGFX Designer 4.19.1
- STM32CubeIDE_1.9.0
- TouchGFX Environment 4.19.1
- STM32CubeProgrammer 2.10.0
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.
- Labels:
-
STM32CubeIDE
-
STM32H7 Series
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-28 12:57 AM
Hello again,
This is now fixed in TouchGFXDesigner v4.20.0.
/Yoann
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-27 3: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 :
- Rename or delete your CM7>Middlewares>ST>touchgfx folder
- Generate code in the Designer
Hope that this helped you,
/Yoann
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-28 12:57 AM
Hello again,
This is now fixed in TouchGFXDesigner v4.20.0.
/Yoann
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-28 4: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-05 7:40 AM
TouchGFX version 4.20.0
Stm32cube version 1.8.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-06 6:55 PM
Hi,
Could you specify which TouchGFX Board Setup or which Board Specific Demo you used exactly ?
/Romain
