SuperHouse / esp-open-rtos

Open source FreeRTOS-based ESP8266 software framework
BSD 3-Clause "New" or "Revised" License
1.52k stars 491 forks source link

ESP8266_RTOS_SDK uses Apache 2.0 license #672

Open tkremeyer opened 5 years ago

tkremeyer commented 5 years ago

As of this april, ESP8266_RTOS_SDK seems to use an Apache 2.0 license (see this commit).

I am not that much into the dependencies and licensing of esp-open-rtos, but I wonder if that means that we can use current versions of Espressif SDK again (or is it a problem that ESP8266_NONOS_SDK still uses Espressif MIT?). Therefore, I would be grateful if a maintainer could look into this. It would be amazing to be able to use the optimizations and new features introduced with the new SDK versions at some point in the future - while I'm aware that this update would be a huge piece of work.

flannelhead commented 5 years ago

What's equally interesting, the SDK now seems to use lwIP 2.0.3 and FreeRTOS 10.0.1. I wonder if it could help with adopting the binaries.

ourairquality commented 5 years ago

Fwiw I made a small start exploring this, moved some esp-open-rtos extras into 'components', some sensors drivers and the wificfg, and also built a current newlib to replace the version in ESP8266_NONOS_SDK. See numerous issues that will take time to work through, but it seems a promising direction.

ChenHsiang commented 5 years ago

That will be wonderful to use the latest binary from Espressif SDK. For my opinion, updating the binary is the key to have more serious projects to select esp-open-rtos. Knowing that bugs are fixed in the new SDK but nothing we can do here in esp-open-rtos is frustrating, and missing security fixes will be the blocking issue for any commercial use of esp-open-rtos.

Zaltora commented 5 years ago

It is nice. I had plan to replace the API calls (SPI / I2C / PWM ..) by an API defined in a file that is configure for the current SDK to make the library portable. This is a good opportunity to start working on it.