JoaoLopesF / RemoteDebug

Library for Arduino to debug projects over WiFi, with web app or telnet, with print commands like Serial Monitor
MIT License
613 stars 127 forks source link

hwcrypto/sha.h removed in arduino-esp32 v2 #81

Closed BeldrothTheGold closed 2 years ago

BeldrothTheGold commented 2 years ago

resolve include issue in platformio using espressif32 framework with upstream arduino-esp32 v2.x

hwcrypto/sha.h removed in arduino-esp32 v2.x <sha/sha_parallel_engine.h> is the drop-in replacement

Uses version defines added in Arduino framework v2 to determine which import to use. https://github.com/espressif/arduino-esp32/blob/399f4ecbb3a4cef21e2bffa37adb6190356dfb76/cores/esp32/esp_arduino_version.h#L40

Nkawu commented 2 years ago

Also ran into this issue compiling for ESP32, can confirm the sha/sha_parallel_engine.h fix solves this