Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SmingRTOS with ESP-IDF 1.0 #151

Open
jobidon opened this issue Jan 21, 2017 · 5 comments
Open

SmingRTOS with ESP-IDF 1.0 #151

jobidon opened this issue Jan 21, 2017 · 5 comments
Labels

Comments

@jobidon
Copy link

jobidon commented Jan 21, 2017

I am about to start development for the ESP32 and am evaluating the options available. I am looking for a framework (like sming) with low level access to the h/w, but that will support the newer SDK from ESP. And, according to a quick evaluation, the other solutions (lua, js and even arduino), seem to abstract the hardware too much.

I understand that @hreintke is no longer supporting the sming framework, but is anyone still using it? Specifically, has anyone tried it with the latest version of the ESP-IDF?

@salocinx
Copy link

salocinx commented Sep 8, 2018

I am currently try to find out the same. Can I use SmingRTOS on the ESP-32 with ESP-IDF ?

@jobidon
Copy link
Author

jobidon commented Sep 9, 2018

I suggest you stick with ESP-IDF: smingRTOS is no longer supported

@salocinx
Copy link

salocinx commented Sep 9, 2018

@jobidon: Thanks for answering! Nevertheless I don't give up the hope yet, since my goal is straightforward. Would be great if you could give a short feedback on the following:

I am trying to port the MavBridge project to ESP32, which itself is about 2 years old and according to the README it was developed on the ESP8266 with the help of the Sming library 2.1.0. The MavBridge project is rather small, but heavily depends on Sming.

When having a look at the SmigRTOS library's README, it states that most of the classes have been ported up to Sming release 2.1.0 too.

Basically, the MavBridge project makes use of the HTTP, AJAX, UdpConnection and some simplified GIOP access of the Sming library.

Do you think there's any chance for me to use the "latest" SmingRTOS 2.1.0 framework to port the MavBridge (depending on Sming 2.1.0) project to ESP32?

@hreintke
Copy link
Collaborator

hreintke commented Sep 9, 2018

@salocinx
I have created and maintained the SmingRTOS project.

SmingRTOS depends on/is running on top of the Espressif RTOS SDK.
Although RTOS SDK and ESP-IDF are both RTOS based they are not compatible.
Besides that, a port for ESp32 would require the rebuild/adaption of the low-level GPIO/Interrupt routines.

In short, I see no easy way to port/use SmingRTOS 2.1.0 on ESP32.

As I am doing for my projects for ESP32, it is wise to go for ArduinoESP32, with AsyncTCP/AsyncUDP/AsyncWebserver libraries which provide most of the functionality available within SmingRTOS.
Alternative, but would take more effort, is to write on ESP-IDF directly.

@salocinx
Copy link

@hreintke thank you for the clarification and your suggestion to use arduino-esp32 library. I will go this way, since writing the required functionality on ESP-IDF would currently ask too much for me. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants