I’m trying to work out some functions on a board with a port to GCC/HCS12 that is not proven yet. I have been successful with two tasks on different priority, who toggle an LED using vTaskDelay(). I’ve tested this with either portYIELD() or preemptive mode. It was working after my message
at 2005-08-05 16:35
Now I am apparently stuck on using vApplicationIdleHook(), which may not be execuding, and don’t know if I’m using portYIELD() properly.
I use preemptive mode. In a task, priority 1, I have these lines
. while (!(SCISR1 & RDRF))
I think this is supposed to mean that on every kernel tick, it would check for the flag above (because it’s the highest priority), and then if not flag it would execute the idle hook for the rest of the tick period. Am I wrong? I don’t ever see the output I coded in the idle hook.