TouchGFX and RTOS Initialization Issue
Hello.
I've been trying to implement FreeRTOS and TouchGFX into my STM32G071RB + GFX01M2 application (eventually I'd like to use G0B1RE for extra RAM). I've followed the link: https://support.touchgfx.com/docs/development/touchgfx-hal-development/scenarios/scenarios-configure-rtos
but am experiencing issues trying to get my code to work. The main issue I'm dealing with is the code fails to initialize execute MX_TouchGFX_Init(). After some digging around, I noticed that the code hangs in HAL_delay(100), line 284 of MB1642DisplayDriver.c. Further digging, I found that the external interrupt of the DISPLAY_TEARING_EFFECT_Pin is triggered, which results in the calling of some RTOS functions before the kernel has even started. I noticed that this only happens after Display_DCS_Send_With_Data(DCS_SET_TEAR_ON, arguments, 1) is called. I can make OSWrappers functions check if the kernel has been started, but this causes other problems and I am not sure if this is the correct approach.

Any approach would be greatly appreciated!
