2021-02-17 12:13 AM
Still can't start works with #TouchGFX.
Target: make that touchgfx called function TouchGFXGeneratedHAL::flushFrameBuffer(rect);
What I did:
extern void touchgfx_signalVSyncTimer(void);
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)
{
if (htim->Instance == TIM13) {
touchgfx_signalVSyncTimer();
}
}
define function
extern "C" void touchgfx_signalVSyncTimer(void) {
HAL::getInstance()->vSync();
OSWrappers::signalVSync();
}
Compile and debug, and check when it call flush.
When I pause app it shows next stack.
So it's waiting when FB semaphore released.... But it never happens.
I read everything on this forum, and in stackoverflow but nothing helped....
What I missed?
2021-02-22 12:26 AM
Hi,
Could you add the "TouchGFX" tag to your post ? it will increase the visibility to other people working with TouchGFX.
Dumb question I know since you are trying to work without an OS, but are you able to test it with FREERTOS ? I am curious if everything else is properly configured.
/Romain
2021-02-22 12:32 AM
Yes, i tried with freertos too.... With similar result