Skip to main content
Eiffel
Associate III
February 26, 2023
Question

FreeMarker template error

  • February 26, 2023
  • 8 replies
  • 2020 views

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
February 27, 2023

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
February 28, 2023

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.
March 3, 2023

> 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
March 5, 2023

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