Skip to main content
Visitor II
August 18, 2023
Question

Heap Screen Storage Issue

  • August 18, 2023
  • 1 reply
  • 1404 views

Hi, 

I am currently trying to implement QRCode from qr-code-generator-library to display it on STM32F429I-DISC1 with TouchGFX. When I run it in the simulator on TouchGFX simulator it runs normally, but when I run it on the board it only shows whitescreen. after I see the debug results there is an error which I believe is from the heap screen storage. can anyone help me ?Screenshot 2023-08-18 135216.pngScreenshot 2023-08-18 135422.pngScreenshot 2023-08-18 135509.png

This topic has been closed for replies.

1 reply

ST Employee
September 1, 2023

Hello @Eshya ,

I can see you have defined your functions in the constructor of Screen1View. I suggest moving your initialization instructions in the Screen1View::SetupScreen() and see if you still encounter the issue. If the issue persists, you can increase the size of your application heap through STM32CubeMX 'ioc' file, -> Project Manager -> Linker Settings

I hope this would help you.

Mohammad MORADIST Software Developer | TouchGFX