Skip to content
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

What's the appropriate version of esp-idf to use? #65

Closed
mikew67 opened this issue Jun 20, 2018 · 1 comment
Closed

What's the appropriate version of esp-idf to use? #65

mikew67 opened this issue Jun 20, 2018 · 1 comment

Comments

@mikew67
Copy link

mikew67 commented Jun 20, 2018

Followed your Getting started instructions here for the Mac and the ESP32. They directed that the esp-idf toolchain be retrieved from a GitHub repo. But with this setup, when building the drag example program, the following warning message is encountered:

WARNING: Toolchain version is not supported: 1.22.0-75-gbaf03c2 Expected to see version: 1.22.0-80-g6c4433a Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.

This happens even if you pull the latest changes (one today, bunch on June 14th) from the GitHub repo.
If you go to the ESP-IDF Programming Guide here, it provides a different version of esp-idf, in fact version 1.22.0-80 as cited in the warning.

  • What version should be used with the moddable SDK.
  • If it's the more recent one, is there a repo (rather than a zip download) available, for easier updating.

TIA,

Mike

@bfriedkin
Copy link
Collaborator

Mike -

Thank you for the follow-up.

The warning message comes from the ESP-IDF firmware build and basically means that the ESP-IDF is expecting to be built from a newer GCC toolchain. My guess is that you pulled the ESP-IDF repo but didn't have the most recent GCC toolchain installed. The GCC toolchain can be downloaded here. We also updated the GCC toolchain link in our Getting Started document (Section 5, ESP32 setup for macOS) on June 18.

The warning should go away if you rebuild with the latest toolchain.

We recommend following the ESP32 setup instructions in the Getting Started document. Clone the top-of-tree ESP-IDF and download/install the corresponding GCC toolchain.

Thanks,
Brian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants