Page 1 of 2

Zephyr support for ESP32

Posted: Thu Oct 06, 2016 2:47 am
by nvl1109
Hi all,

I think it is very interested if Zephyr supports ESP32.
Do you guys have the same idea with me? And does Espressif have any plan for this?

Thank you.

Re: Zephyr support for ESP32

Posted: Thu Oct 06, 2016 3:37 am
by kolban
Howdy,
Can you post a description of "What is Zephyr?" and ideally some links to where we can read about it on the Internet? I for one don't know what Zephyr is.

Re: Zephyr support for ESP32

Posted: Thu Oct 06, 2016 4:25 am
by ESP_Sprite
We have a whole bunch of small RTOSses that would be in theory interesting to run on the ESP32: MyNEWT, Zephyr, NuttX, ... We are looking at all of them, but in all probability a fair few of them will not be implemented by us. We do plan on making it possible for others to support any OS the ESP32 is capable off: the idea is that we will shim the OS-dependent portions of the WiFi and BT libraries, and make the rest of the hardware entirely documented.

Re: Zephyr support for ESP32

Posted: Thu Oct 06, 2016 6:31 am
by nvl1109
ESP_Sprite wrote:We have a whole bunch of small RTOSses that would be in theory interesting to run on the ESP32: MyNEWT, Zephyr, NuttX, ... We are looking at all of them, but in all probability a fair few of them will not be implemented by us. We do plan on making it possible for others to support any OS the ESP32 is capable off: the idea is that we will shim the OS-dependent portions of the WiFi and BT libraries, and make the rest of the hardware entirely documented.
Yeah, that is a good news.

Event Zephyr is not supported by Espressif officially, the ESP32 fans (include me) can do it if we have enough information from hardware documents.
Thank you :)

Re: Zephyr support for ESP32

Posted: Thu Oct 06, 2016 6:33 am
by nvl1109
kolban wrote:Howdy,
Can you post a description of "What is Zephyr?" and ideally some links to where we can read about it on the Internet? I for one don't know what Zephyr is.
Hi kolban,

It is a RTOS for IoT devices. Link is: https://www.zephyrproject.org/

Re: Zephyr support for ESP32

Posted: Sun Oct 16, 2016 10:38 am
by WiFive
I've been noticing there is a lot of support developing around zephyr. Lots of developments from all kinds projects/companies/communities. Might be the place to be.

Re: Zephyr support for ESP32

Posted: Sun Oct 16, 2016 6:35 pm
by ESP_igrr
Zephyr does look good indeed, unfortunately there is no support for multiprocessor systems there right now.

Re: Zephyr support for ESP32

Posted: Sun Oct 16, 2016 10:51 pm
by WiFive
ESP_igrr wrote:Zephyr does look good indeed, unfortunately there is no support for multiprocessor systems there right now.
Maybe they need to be formally introduced to esp32...

https://jira.zephyrproject.org/browse/ZEP-323

Re: Zephyr support for ESP32

Posted: Sun Jun 18, 2017 2:39 am
by lpereira
I ended up creating another topic, but preliminary port to ESP32 has been submitted for code review: https://github.com/zephyrproject-rtos/zephyr/pull/517

There's still a whole lot missing, but I'm quite excited for the progress.

Re: Zephyr support for ESP32

Posted: Sun Jun 18, 2017 9:48 am
by BuddyCasino
Is there anything out there that can compare to Jorge Aparicio's RTFM? Its IMHO the natural design for memory-constrained devices. Shared memory, multitasking, events, hardware assisted scheduling, verifiably safe by virtue of Rust.