Chat freely about anything...

User avatar
By Gabriel-LG
#7014 Hi all,

Allow me to introduce the esp_mod_sdk, a modular SDK, currently based on the v0.9.4 of the Espressif SDK (same static libraries, headers and linker scripts).
Some key differences are:
  • Projects are modular. Modules can easely be exchanged between projects.
  • The SDK is separated from the projects. This makes it easier to upgrade the SDK.
  • Automatic build dependencies make sure that all affected sources are rebuild after changing a source/header file.
  • Out of source builds allow for multiple build-types simultaniousely (e.g. debug and release builds)
  • Makefiles are much simpler whilst offering more functionality
  • Make target for flashing the ESP8266

The esp_mod_sd currently comes with 3 example projects, namely blinky, at_demo (v0.20) and Espressif's iot_demo (unmodified).
I consider the current version still somewhat beta. The module names are still in state of flux, expect them to change and become more fine grained. Also the verbosity will be tuned down soon ;)

Please have a look and take it for a spin. Let me know what you think should be improved and/or added.

Kind regards,
Gabriel-LG

PS, the link one more time https://github.com/Gabriel-LG/esp_mod_sdk
Last edited by Gabriel-LG on Wed Jan 14, 2015 5:34 am, edited 2 times in total.
User avatar
By Gabriel-LG
#7255 The progress so far:
  • The libraries lwip, ssl, json and upgrade are now moved to separate modules.
  • The modules lwip, ssl, json and upgrade are now build from source.
  • The linker scripts have become a module; making it possible to use a customized linker script for your project. As future feature, the linker module will provide means to specify which binary images will be generated and where to upload them.
  • I added Espressif's IoT_Demo as an example project.
The module names are solidifying, though the esp/core module will be renamed to esp/blob.
Next up I will integrate FreeRTOS as a module and also tune the amount of output from the make scripts.

The example projects contain a number of device drivers, I will see how to add these to the SDK as modules.
User avatar
By Gabriel-LG
#7419 Integrated Espressif's esp_iot_rtos_sdk yesterday :)
I initially assumed that esp_iot_rtos_sdk would be based on the v0.9.4 SDK, but it turns out that the precompiled libraries and associated headers are completely different. Also the supplied third party libraries are entirely different versions.

An example app will be added shortly, the FreeRTOS example supplied by Espressif compiles and runs, but it appears to require a
very specific network setup, I have not tested it thoroughly enough (I doubt I will).

Does anyone have a suggestion on what to add as FreeRTOS example?