-
Notifications
You must be signed in to change notification settings - Fork 37
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
fatal error: hwcrypto/sha.h: No such file or directory #24
Comments
GoDisplay example is disabled in CI due to hardkernel/ODROID-GO#24
The workaround seems to be to replace (see espressif/esp-idf#3245) Regards, Thorsten |
It not work. |
This library currently has lots of non-essentials that are incompatible with arduino-esp32 2.0.
These files can compile correctly with arduino-esp32 2.0. In CI environment, you can refer to the two lines linked here: |
worked for me when compiling the esp32_ble files of the Ardumower project in PlatformIO for the ESP32 dev kit c v4 (may be a AZdelivery specific name), many thanks |
I'm using Arduino 1.8.15 and I need it to compile because I've erased the partitions in the flash by accident so flashing the firmware doesn't work. After making the fix :
I then got: In file included from C:\Users\sarah\Documents\Arduino\libraries\ODROID-GO-master\src\sensors\esp32-hal-gpio.c:20: I found this to solve it but I'm not using the Espressif compiler!:
Hm I don't have that.
Hm I don't have that either.
Then I got lots of errors: In file included from C:\Users\sarah\Documents\Arduino\libraries\ODROID-GO-master\src\sensors\Adafruit_BME280.cpp:18: It's a humidity sensor library - I wont be using that! So I deleted Adafruit_BME280.cpp, .h and .md Adafruit_TCS34725.cpp was next..... deleted it and the .h file. (I think by now, I should be updating some OTHER group of files somewhere.... or maybe these are just all out of date libraries, in which case as I'm not using them, it's easier to remove them than find the most recent and use it - I wish Odroid would keep their libraries up to date.... I guess 4 years is long enough to support it?). RTClib.cpp was next with errors, so I deleted it and it's .h file. Real time clock? pah! I just need the "Hello world" to compile! I'm nearing the end of the sensor list of files now. Yay! Rtc_Pcf8563.cpp....... gone! Ah! I see Wire.cpp isn't compiling, probably the cause of all those others if I'd bothered to read the full error. Perhaps I need to look at the files Wire.cpp is using, maybe I need to copy a newer version file from some other esp32 folder? For now I delete the sensors folder and recompile! So - in total I deleted the content of the interupt setPin function, and removed the Sensor folder. The "Hello World!" example now compiles! Yay! I tried flashing the Odroid with the ESP32 download flash tool, and it...... doesn't boot anymore. This whole attempt didn't work! =( |
When compiling the Hello_World example with arduino-esp32 2.0.0, compilation fails with the following error:
This is because arduino-esp32 deleted the
hwcrypto/sha.h
header file.The text was updated successfully, but these errors were encountered: