I know current IDF supports FreeRTOS but maybe in the future it would be also good to have a standalone SDK for ESP32?
Do you think it is possible and have you consider such development?
Thanks!
Standalone SDK
-
- Posts: 9043
- Joined: Thu Nov 26, 2015 4:08 am
Re: Standalone SDK
It's quite hard to run a WiFi/BT/TCPIP stack without an OS... needs an entirely different architecture underneath as you can't do things in parallel. Sure, it's possible to do so, but it'd mean re-architecting everything from the ground up, losing a lot of nice functionality, and generally wasting a lot of time. Additionally, not having the inter-task communication primitives makes it quite hard to have a nice way to make use of the fact that the ESP32 has two CPUs. Is there any reason in particular you'd need this?
Re: Standalone SDK
I understand the re-architecturing problem for non-OS SDK, however looking at ESP8266 it is possible and works good.
Intercommunication sometimes is not crucial in many performance projects and also having bare metal execution gives more management control over memory and the way the whole system behaves. More memory would be saved and more battery power too.
WiFi and BT could be switched off at any time and resources reassigned to different processes for example.
Intercommunication sometimes is not crucial in many performance projects and also having bare metal execution gives more management control over memory and the way the whole system behaves. More memory would be saved and more battery power too.
WiFi and BT could be switched off at any time and resources reassigned to different processes for example.
-
- Posts: 9043
- Joined: Thu Nov 26, 2015 4:08 am
Re: Standalone SDK
Actually, if I recall correctly, ESP8266 also uses a minimal RTOS under the hood (XTOS). Also, how would the things you mention not be possible with a RTOS?
Re: Standalone SDK
ESP_Sprite wrote: Actually, if I recall correctly, ESP8266 also uses a minimal RTOS under the hood (XTOS). Also, how would the things you mention not be possible with a RTOS?
So you are saying non-OS SDK for ESP8266 is actually a minimal RTOS ?
-
- Posts: 9043
- Joined: Thu Nov 26, 2015 4:08 am
Re: Standalone SDK
Keep in mind that I don't know that much about the internals of the binary stuff of the esp8266 SDK (I've not worked with that chip for the last 3 years or so), but yes, as far as I'm aware it has XTOS in ROM and the SDK uses that.
Who is online
Users browsing this forum: Bing [Bot] and 132 guests