FreeRTOS task not executed

Please add the following code to your Ifx_Cfg.h

#ifdef MULTICORE_FREERTOS
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU0_HOOK(t) vPortSyscallHandler(t.tId)
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU1_HOOK(t) vPortSyscallHandler(t.tId)
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU2_HOOK(t) vPortSyscallHandler(t.tId)
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU3_HOOK(t) vPortSyscallHandler(t.tId)
#else
#ifndef FREERTOS_CORE
#define FREERTOS_CORE 0
#endif
#if FREERTOS_CORE == 0
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU0_HOOK(t) vPortSyscallHandler(t.tId)
#endif
#if FREERTOS_CORE == 1
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU1_HOOK(t) vPortSyscallHandler(t.tId)
#endif
#if FREERTOS_CORE == 2
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU2_HOOK(t) vPortSyscallHandler(t.tId)
#endif
#if FREERTOS_CORE == 3
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU3_HOOK(t) vPortSyscallHandler(t.tId)
#endif
#endif

If you need to connect the syscall trap handler with the port, as the illds install custom trap handler.

Ifx_Cfg.h (4.2 KB)
@florin611 As mentioned by my colleague @go2sh, make the required changes to your “…\Configurations\Ifx_Cfg.h” file, or copy the file attached with this message. A sample “Blinky” project for the TC387 TFT kit is available here.

I will add this step to the README in the partner supported demos for TC3xx as well.

Hi, @shahzeb @go2sh

Thank you for your feedback, your solution seem to solve the task delay problem, the problem now is that if you put a breakpoint in any of the tasks and then resume the execution, the scheduler is not working anymore.

This is a debugger issue related to debugging RTOS code. We, unfortunately, don’t have a quick fix for this issue at the moment.