The Board keep restarting while comment out one of the task

rtel wrote on Thursday, March 09, 2017:

I suspect the issue was commenting out the code from the demo that was
creating the co-routines, but leaving the code in the idle task that was
trying to schedule them.

eaoiyrioeaf wrote on Wednesday, March 15, 2017:

Hi Richard, I’m not trying to use CoRoutines. I just trying to modify a FreeRTOS example port to my own project. The example port already used the CoRoutines. Actually I’m trying remove it from my project, but I don’t know what is the inpact if remove it directly.

eaoiyrioeaf wrote on Wednesday, March 15, 2017:

Sir, while this issue happens, I haven’t comment any of the code from sample port yet.

rtel wrote on Wednesday, March 15, 2017:

If you don’t have co-routines being created you must comment out the
vCoRoutineSchedule(), or if that is the only thing the idle task hook is
doing, set configUSE_IDLE_HOOK to 0 in FreeRTOSConfig.h.

eaoiyrioeaf wrote on Thursday, March 16, 2017:

Noted with thanks, Finally this problem resolved.