Hi. I’m new to FreeRTOS, and had some questions about the “Using the FreeRTOS Real Time Kernel - A Practical Guide.pdf” manual.
1) On page 28 there is a statement concerning the Idle Task Hook (where you can put user defined code into the Idle Task: “Blocking the idle task in any way could therefore cause a scenario where no tasks are available to enter the Running state!”. I know NOT to do this, but if the Idle task is the lowest priority, why would it block higher priority tasks? Does blocking the Idle task prevent the Kernal from transitioning task execution?
2) .On pages 26 and 27 it descusses how a periodic high-priority task preempts two lower priority tasks when a given time is reached. According to the output, the high priority task only prints its message after the time is reached. Should it not also print out its message as the first line of output, since it is the highest priority task?
I would appreciate any insight. Thanks.