Error compiling for new Arduino core for the ESP32
TiagoPereiraRibeiro opened this issue · comments
"C:\Users\username\Documents\Arduino\libraries\Crypto\src\AES.h:200:10: fatal error: hwcrypto/aes.h: No such file or directory"
Board selected on Arduino IDE: ESP32 Dev Module
Comment:
- It appears that with Arduino core for the ESP32 version 2.0, the folder hwcrypto no longer exists.
- Compile correctly with the previous version (1.0.6)
Same issue, any suggestion?
Guy below mentioned that hwcrypto/* has been moved to esp32/*.
https://githubmemory.com/repo/kind3r/esp32-ble-gateway/issues/3
So i the file \Documents\Arduino\libraries\Crypto\src\AES.h:200: i changed
#include "hwcrypto/aes.h"
-> #include "esp32/aes.h"
then i was able to compile prj but.... with warnings
#warning "esp32/aes.h is deprecated, please use aes/esp_aes.h instead"
After change for #include "aes/esp_aes.h"
problem disappeared (hope on your side as well).
Idk if this commit is related to this somehow :
https://gitea.edwinclement08.com/espressif/esp-idf/commit/709a320f337572f0ad6fb9c6b2d162bd3005cf93
I'm also encountering this. Any way to upvote this issue?
I have attempted to fix this in the latest version by defining the ESP32 AES library functions myself rather than include a system header that keeps moving around in different SDK versions. Hopefully this helps resolve the problem permanently. If not, let me know.