Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By swarren
#6516 Out of curiosity, was there any progress here? I'd love to be able to build my own FreeRTOS, lwip, ... completely from source using no binary libraries.

This would allow things like:
* Upgrading the code to any version I like.
* Ability to implement my own flash layouts for upgrades, modules, ...
* Remove the code that automatically restores WiFi configuration before even calling the user code, so that I'm in full control of when WiFi is enabled, and able to debug any issues with that.
...

I guess the WiFi HW module is the thing that's hardest to drive without any of the binary libs right now, i.e. libnet80211.a and libphy.a are the most interesting?

Thanks for any pointers!
User avatar
By projectgus
#39346
Out of curiosity, was there any progress here? I'd love to be able to build my own FreeRTOS, lwip, ... completely from source using no binary libraries.


We have some steady progress as part of the esp-open-rtos project:
https://github.com/SuperHouse/esp-open-rtos

The startup code is open source, along with the IP stack and FreeRTOS. One of the branches (still in testing) has reconstructed code for nearly all the user-facing functions. The MAC layers and below are still binary libraries but there are people chipping away at them.