Skip to main content
AFire.1
Associate
June 3, 2021
Question

Framebuffer in internal ram + CMSIS OS

  • June 3, 2021
  • 1 reply
  • 594 views

Hi, I configured LTDC and TouchGFX properly without using os,

I created internal framebuffer and linked it with this code:

__attribute__ ((section(".TouchGFX_Framebuffer"), used))

uint32_t framebuffer[400*200];

However this is not working if I try using it with CMSIS OS, I have no idea why this is working without OS and not with it.

I am calling MX_TouchGFX_Process() in one task properly.

Thanks for any help!

This topic has been closed for replies.

1 reply

Romain DIELEMAN
ST Employee
June 4, 2021

Hi,

Have a look at the application template available in TouchGFX Designer for the relevant board, you might have missed a call or setting.

/Romain