-
Notifications
You must be signed in to change notification settings - Fork 7k
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
esp32: is broken for the latest esp-idf version #1538
Comments
Can confirm that it is a regression from commit cb31222e in the esp-idf repo. git checkout cb31222e~1 resolves the issue. |
Don't we pin esp-idf to a specific revision? Everybody does, it's still largely WIP and incompatible changes happen regularly (from what I heard). |
No. The board's documentation says this:
Following the SDK link eventually gives you:
So latest master of esp-idf. I would suggest pinning the version. |
Could you elaborate on it being WIP? Is there anything I should expect to be broken with esp32? Specifically, is it expected that sanitycheck -p esp32 will have 0 failures? |
I believe that @pfalcon was saying that esp-idf is WIP, so likely to break every now and then. I agree with the suggestion to pin to a particular revision, as we don't really care about esp-idf itself: we only need it for some headers and libhal.a, which are unlikely to significantly change. |
Yes, that's what I meant. |
I would be not at all opposed to checking in a 'known good' version of ESP-IDF directly into the Zephyr tree, along with our other HALs in ext/ if there are no license issues. |
For source code this is OK IMHO, but not for the 452K binary libhal.a. I worry it would bloat git over time. |
Yeah. The whole repository for esp-idf is licensed under an Apache License 2.0 (IIRC), so in theory we could do that. But I'm not keen on distributing a binary blob with Zephyr. |
@nashif already raised (or mentioned) an issue that 90% (if not 95%) of Zephyr's "weight" are existing vendor libs in ext/ . So, if esp32 doesn't have that, it can be a fresh breath and start of something new (I for example would really ponder of using git submodules). |
ESP-IDF is in constant development and it's likely that files Zephyr depends on will be moved, removed, or renamed. Make a note that an older version of ESP-IDF should be used instead. Closes zephyrproject-rtos#1538. Signed-off-by: Leandro Pereira <[email protected]>
ESP-IDF is in constant development and it's likely that files Zephyr depends on will be moved, removed, or renamed. Make a note that an older version of ESP-IDF should be used instead. Closes #1538. Signed-off-by: Leandro Pereira <[email protected]>
…t-rtos#1538) Allowed origins header (GET_ALLOWED_ORIGINS) request has been removed from the WebUSB specification, so removing the support for the request. Signed-off-by: Sudarsana Nagineni <[email protected]>
Following the ESP32's instructions for installing and using the espressif SDK resulted in a broken build.
Specifically, I get the below error message when building hello_world.
Git blame shows that the offending line was added in mid-august, so I am guessing that the latest ESP-IDF SDK is not compatible with Zephyr. Haven't confirmed this by going back in time yet though ...
Solution suggestions
Make output
The text was updated successfully, but these errors were encountered: