Clarifications on freeRTOS
Posted: Wed Oct 24, 2018 1:43 pm
Hello everyone,
I found myself looking for timing issues between freeRTOS tasks. While doing that I realized I have little understanding of how freeRTOS actually works under the hood of my ESP32; I have some particular doubts I'd like to ask a clarification of, since I can't seem to find a confirmation on the online reference.
1. Does freeRTOS uses a preemptive scheduler on ESP-idf? (e.g. awaking higher priority tasks steal control from lower ones)
2. I have my configuration set to run freeRTOS only on first core. Does this mean that the scheduler runs only on core 0 and that my main runs uninterrupted on core 1?
3. A high priority task that never calls vTaskDelay will eat all the resources and never let lower priorities run, right?
I found myself looking for timing issues between freeRTOS tasks. While doing that I realized I have little understanding of how freeRTOS actually works under the hood of my ESP32; I have some particular doubts I'd like to ask a clarification of, since I can't seem to find a confirmation on the online reference.
1. Does freeRTOS uses a preemptive scheduler on ESP-idf? (e.g. awaking higher priority tasks steal control from lower ones)
2. I have my configuration set to run freeRTOS only on first core. Does this mean that the scheduler runs only on core 0 and that my main runs uninterrupted on core 1?
3. A high priority task that never calls vTaskDelay will eat all the resources and never let lower priorities run, right?