Question
OSWrappers::signalVSync hangs
Hello!
I made the project for a custom SPI display with configuration like screenshot below:
Added in main.c:
void StartDefaultTask(void const * argument)
{
/* USER CODE BEGIN 5 */
MX_TouchGFX_Process();
/* Infinite loop */
for(;;)
{
osDelay(1);
}
/* USER CODE END 5 */
}void StartTask02(void const * argument)
{
/* USER CODE BEGIN StartTask02 */
/* Infinite loop */
for(;;)
{
osDelay(20);
TouchGFX_TickHandler();
}
/* USER CODE END StartTask02 */
}And in TouchGFXHAL.cpp:
extern "C" void TouchGFX_TickHandler();
void TouchGFX_TickHandler() {
OSWrappers::signalVSync();
}The function TouchGFX_TickHandler() called one time and hangs on OSWrappers::signalVSync(). As a result (?) functions void TouchGFXHAL::flushFrameBuffer(const touchgfx::Rect& rect) and Screen1View::setupScreen() are never called.
I'm using the latest software (TouchGFX 4.16.1, latest HAL/CMSIS etc).
Is this a bug or am I missing an important detail?
