[esp32-c3] What is Espressif Task Shceduler ?

ivand58
Posts: 10
Joined: Tue May 10, 2022 7:10 am

[esp32-c3] What is Espressif Task Shceduler ?

Postby ivand58 » Sat May 14, 2022 5:03 pm

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 ?

ESP_Sprite
Posts: 9048
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Sun May 15, 2022 1:47 am

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.

Who is online

Users browsing this forum: joglz8 and 213 guests