Page 1 of 1

[esp32-c3] What is Espressif Task Shceduler ?

Posted: Sat May 14, 2022 5:03 pm
by ivand58
Hi,
It seems that there is an additional OS in the ROM (with APIs in ets_sys.h) and it is not the FreeRTOS.
Is there a document that describes the "Espressif Task Scheduler" principles ?

Re: [esp32-c3] What is Espressif Task Shceduler ?

Posted: Sun May 15, 2022 1:47 am
by ESP_Sprite
It's not an OS, it's a simple cooperative scheduler that stems from back in the ESP8266 days. While we do use some of the functions that are in that 'namespace' (as in, prefixed with ets_, like ets_printf) as baremetal functions for use in e.g. the bootloader, the scheduler itself is 'dead code' which we leave in as it's tiny anyway (200'ish lines of C). It's not public, sorry, but it wouldn't be hard to build an equivalent yourself.