Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By madokapeng
#43445
mrburnette wrote:I thought RTOS was already linked into the Arduino build to perform the task switching magic.... can be forced with delay(0) or yield().

Ray



espressif has two sdk.
- NONOS SDK
- RTOS SDK

NONOS SDK provide us user_interface.h file which we can interface with NONOS SDK API. I think it is running not a real OS. it does not provide task scheduler to manage tasks. it only allows three tasks with 0/1/2 priority. loop task already took one. two left for the user.

if browsing RTOS SDK, you will find it has FreeRTOS folder which is implemented in that SDK. I am not sure is possible switch to RTOS SDK instead of NONOS SDK for ESP8266 Arduino.

mrburnette, thanks for replying this thread.

If someone knows how to get through it, please guide me.
If I post in wrong place, please correct me where I suppose to ask?

I would be grateful.
User avatar
By martinayotte
#43731 In my opinion, since ESP32 has only FreeRTOS, and since some kind of fork of Arduino IDE has been done for ESP32, I think there will be a merge somehow, but NOT until Espressif themself is doing a merge of their both FreeRTOS, the one for ESP32 and the one for ESP8266, which are quite far from each other, especially that the ESP8266 is quite pretty old.