Skip to main content
Eiffel
Associate III
Feb 26, 2023 9:55 PM UTC
Question

FreeMarker template error

Hello all,

ST is obviously ignoring problems because i have found few topics about this issue which are two years old. So, during TouchGfx generation from CubeMX i get an errors in TouchGFXGeneratedHAL.cpp

Java has obviously still have problems with big numbers and ST is still unable to fix it. Know anybody walkaround?

Thanks

This topic has been closed for replies.

8 replies

Osman SOYKURT
ST Technical Moderator
Feb 27, 2023 10:40 AM UTC

Hello MPetr.5,

We're sorry if you think we're ignoring it, we try to constantly upgrade TouchGFX Designer with resolving issues and adding new features for an optimal user experience. It's possible that the issue you're referring hasn't been prioritized. Could you send me the link to the other topics you mentioned?

Also, more details would be appreciated for a deeper look by us; which board are you using? is it based on a TouchGFX board setup? which version of TouchGFX and STM32CubeMX?

/Osman

ST Software Developer | TouchGFX
Eiffel
EiffelAuthor
Associate III
Feb 28, 2023 5:42 PM UTC

Hello @Osman SOYKURT​ ,

https://community.st.com/s/question/0D53W00001Az0B6SAJ/error-in-code-generation-for-touchgfx

https://community.st.com/s/question/0D53W00000yVf83SAC/bug-on-cubemx-touchgfx

Those are 2years old.

No board, custom PCB with STM32L4R9ZG, LCD connected through FMC bank 2, on bank1 is SRAM.

STM32CubeMX version 6.7.0

TouchGFX 4.21.1

It is obviously problem with high address which exceedes 32bit value and freemarker/java cannot handle it.

Pavel A.
Mar 3, 2023 2:12 PM UTC

> It is obviously problem with high address which exceedes 32bit

Does unsigned int give any hint?

https://stackoverflow.com/questions/9854166/declaring-an-unsigned-int-in-java

Eiffel
EiffelAuthor
Associate III
Mar 5, 2023 6:58 PM UTC

Hi, i dont know who are you targeting. Maybe ST?