-
Notifications
You must be signed in to change notification settings - Fork 13
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
Build of the project for ESP32/EPS8266 - comments #23
Comments
Thanks for your testing and feedback. We welcome any improvements to the code and documentation. Please submit a PR. Since I don't currently use ESP8266, I'll accept your fixes as long as they don't break my ESP32 build. And if anyone else can confirm it builds for ESP8266, that's a plus. |
I followed your steps, but i could’t build. |
For which platform? ESP8266 or ESP32?
|
Hello, I'm trying to compile for ESP8266 without success see output
if i remove the libesphttpd and -C I have this
traduction : no rule to make the target "all" need for "dummy". stop (sorry my env is in frensh) where I can search to compile ? Thank |
Hello,
It seems there is a problem with espfs which tries to use MMU that it is not supported by ESP8266 ( see espressif/ESP8266_RTOS_SDK#612) Thank you for your help |
You should use:
Because ESP8266 SDK was refactored and now it has styled some ESP-IDF. You can use my fork to compile this example for ESP8266: |
Yes, therefore i created a fork from the and using it without MMAP. |
Thanks RomkaE, Thierry, |
After some compilation test I have this error
Do you have some idea how to cover this error ? Thanks |
Hello RomkaE, Now I'm able to build it, but the download on ESP07 don't work correctly, I'm testing it on "pur" espressif module (wroom-02D) and download is ok, the main difference is memory size (ESP07 = 1MB and ESP_WROOM = 2MB) |
I never worked with the old ESP8266 SDK. |
There are a couple of comments on build the project
Initialization of submodules.
After cloning the repository and initializing the submodules:
There are no latest commits in the "espfs" and "libesphttpd" submodules (this can be seen by looking at the log of the submodules), so the project not build. If updating submodules from remote:
The latest commits appear in the "espfs" and "libesphttpd" submodules. But a build error occurs on the "heatshrink" submodule. To get the necessary commits in all submodules, needed to run two commands:
After such initialization, the project for ESP32 ESP-IDF (master) is built without problems.
Build the project for ESP8266.
I managed to build and run this project for ESP8266 ESP8266_RTOS_SDK (master). But it was necessary to change the code of the project and the submodules "espfs", "libesphttpd". As I understand it, the old SDK was used for the ESP8266.
For example, in the file "components/libesphttpd/include/libesphttpd/esp.h":
The assumption that "ESP_PLATFORM" declared only in ESP-IDF is not true.
For which version of the ESP8266 SDK is a project build expected?
The text was updated successfully, but these errors were encountered: