FreeRTOS alternatives

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

FreeRTOS alternatives

Postby Deouss » Fri Apr 06, 2018 3:33 pm

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 !!)

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: FreeRTOS alternatives

Postby WiFive » Fri Apr 06, 2018 4:40 pm

Nothing that is usable in terms of having full chip/board support. Zephyr may get there eventually.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: FreeRTOS alternatives

Postby kolban » Fri Apr 06, 2018 5:31 pm

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.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

User avatar
hassan789
Posts: 156
Joined: Thu Jun 29, 2017 2:15 am

Re: FreeRTOS alternatives

Postby hassan789 » Tue Apr 17, 2018 7:00 pm

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?

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: FreeRTOS alternatives

Postby ESP_Angus » Tue Apr 17, 2018 11:11 pm

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. :)

bobolink
Posts: 98
Joined: Mon Feb 26, 2018 4:17 pm

Re: FreeRTOS alternatives

Postby bobolink » Sat Aug 11, 2018 12:01 pm

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

hak8or
Posts: 10
Joined: Wed May 23, 2018 9:55 pm

Re: FreeRTOS alternatives

Postby hak8or » Wed Aug 29, 2018 12:07 am

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?

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: FreeRTOS alternatives

Postby ESP_Angus » Wed Aug 29, 2018 2:34 am

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).

hak8or
Posts: 10
Joined: Wed May 23, 2018 9:55 pm

Re: FreeRTOS alternatives

Postby hak8or » Thu Aug 30, 2018 11:14 pm

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.

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

Re: FreeRTOS alternatives

Postby Deouss » Thu Aug 30, 2018 11:21 pm

May I ask what is so special about NuttX ?
Never heard of it

Who is online

Users browsing this forum: No registered users and 86 guests