-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
compliing as esp-idf component, error compiling diskio.h after clean install #3066
Comments
arduino-esp32 is currently built on esp-idf 3.2 |
Following comment from @lbernstone (thanks!) I Checked for revisions:
There are V3.0-V3.3 and the current - V4 Trying v3.2 like so: And after reverting to xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0. the compilation almost works. This is the error I get:
I get the same error with v3.3 so I continued with V3.3 and added a crude patch: line 9 of
And now it compiles and probably runs (needs some testing..) This is probably something to do with configuration and I hope someone will fix or advise. I have also looked a bit into V4' seems like there is a small change in the ip library that affects 4 files. |
You can also start with the sdkconfig from the arduino-esp32/tools/sdk directory. The WiFi client secure library requires a bit of the mbedtls bits to be enabled. |
arduino-esp32/tools/sdk is a duplication of parts of esp-idf When working with esp-idf I prefer to relay on a single source - which is esp-idf In any case it seems like compilation is good, for now. Thanks. |
@qt1 yes, it is a duplicate but there is a known good sdkconfig file there which you can use as a base for your IDF project. You don't need anything else from that tree |
With an old (working) project,
I have reinstalled esp-idf from repository
git describe --tags => v4.0-dev-1381-g6fe853a2c
and arduino-esp under components/arduino
git describe --tags => 1.0.3-rc1-42-gfa55a2c
Now AzureIoT fails compilation, so I disabled the component in 'make menuconfig'
And now I get this king of error:
It looks like the code tries to pull include files from esp-idf and there is some inconsistency between the version of the SDK
It may be something to do with the make system or some other ritual I didn't do right. However I am a bit concerned this indicates mismatch
Please advise.
Thanks
The text was updated successfully, but these errors were encountered: