Page 1 of 2

FreeRTOS alternatives

Posted: Fri Apr 06, 2018 3:33 pm
by Deouss
I just noticed a wide variety of real-time operating systems out there.

Here is wiki list:
https://en.wikipedia.org/wiki/Compariso ... ng_systems

When I visited a couple of websites - the features of those were very impressive
I wonder if there is some better faster alternative and if anyone tried it.

These are listed with Xtensa support:
https://rtos.com/solutions/threadx/real ... ng-system/
https://www.zephyrproject.org/
http://www.riot-os.org/ (crazy minimal resources of 5Kb !!)

Re: FreeRTOS alternatives

Posted: Fri Apr 06, 2018 4:40 pm
by WiFive
Nothing that is usable in terms of having full chip/board support. Zephyr may get there eventually.

Re: FreeRTOS alternatives

Posted: Fri Apr 06, 2018 5:31 pm
by kolban
This was noted a month or so ago:

https://www.espressif.com/en/media_over ... n-freertos

This indicates a version of Amazon FreeRTOS running on ESP32 at some future date.

Re: FreeRTOS alternatives

Posted: Tue Apr 17, 2018 7:00 pm
by hassan789
Deouss wrote:I just noticed a wide variety of real-time operating systems out there.

Here is wiki list:
https://en.wikipedia.org/wiki/Compariso ... ng_systems

When I visited a couple of websites - the features of those were very impressive
I wonder if there is some better faster alternative and if anyone tried it.

These are listed with Xtensa support:
https://rtos.com/solutions/threadx/real ... ng-system/
https://www.zephyrproject.org/
http://www.riot-os.org/ (crazy minimal resources of 5Kb !!)
What specific feature are you looking for?

Re: FreeRTOS alternatives

Posted: Tue Apr 17, 2018 11:11 pm
by ESP_Angus
Zephyr and NuttX both have some level of ESP32 support.

There is work in progress internally to make the WiFi & Bluetooth libraries easier to integrate into different RTOSes, via an abstraction layer. We're keen to see third party RTOSes work well on ESP32. :)

Re: FreeRTOS alternatives

Posted: Sat Aug 11, 2018 12:01 pm
by bobolink
Any update?
Not on the RIOT boards list.
http://doc.riot-os.org/group__boards.html

I’m going to learn this OS on an Adafruit m0 board but would like to switch to an ESP32 at some point.
Thanks

Re: FreeRTOS alternatives

Posted: Wed Aug 29, 2018 12:07 am
by hak8or
ESP_Angus wrote:Zephyr and NuttX both have some level of ESP32 support.

There is work in progress internally to make the WiFi & Bluetooth libraries easier to integrate into different RTOSes, via an abstraction layer. We're keen to see third party RTOSes work well on ESP32. :)
This is extremely exciting as it will let RTOS's like Nuttx run on the ESP32. Since it has been a few months, is there anything new on this?

Re: FreeRTOS alternatives

Posted: Wed Aug 29, 2018 2:34 am
by ESP_Angus
hak8or wrote:
ESP_Angus wrote:Zephyr and NuttX both have some level of ESP32 support.

There is work in progress internally to make the WiFi & Bluetooth libraries easier to integrate into different RTOSes, via an abstraction layer. We're keen to see third party RTOSes work well on ESP32. :)
This is extremely exciting as it will let RTOS's like Nuttx run on the ESP32. Since it has been a few months, is there anything new on this?
Yes, this is done. Documentation is a little sparse but all the code is in place. If you encounter problems then please raise issues on GitHub about them and we'll look into it.

WiFi OSI layer type declarations:
https://github.com/espressif/esp-idf/bl ... _adapter.h

And the FreeRTOS/IDF implementation for reference:
https://github.com/espressif/esp-idf/bl ... ter.c#L400

This exposes RX/TX of data frames (suitable for integration with a TCP/IP stack), and WiFi events for connection/disconnection/etc as well as the same WiFi library connection API declared in esp_wifi.h

Bluetooth OSI declaration & FreeRTOS implementation are in a single file:
https://github.com/espressif/esp-idf/bl ... /bt.c#L124

In this case of Bluetooth, this is for using the BT Dual Mode Controller (libbtdm_app.a) only (using Virtual HCI interface). The Bluetooth layers on top of this need to be ported or an existing (HCI compatible) stack can be used. The BT Controller reserves some RAM which is otherwise available to the application (see the esp32.ld linker script).

Re: FreeRTOS alternatives

Posted: Thu Aug 30, 2018 11:14 pm
by hak8or
This is absolutely fantastic, thank you so much for all that work and even linking to the headers and whatnot! I will do what I can to throw this information to nuttx and other RTOS's regarding implementation.

Re: FreeRTOS alternatives

Posted: Thu Aug 30, 2018 11:21 pm
by Deouss
May I ask what is so special about NuttX ?
Never heard of it