DSMR fails to compile on Arduino 2.0.3 + platform 4.4.0: missing hwcrypto/aes.h · Issue #3392 · esphome/issues · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using ESPHome with Arduino @ 2.0.3 and platform-espressif32 @ 4.4.0 breaks compilation of the DSMR component. I try to build the project with esphome run thefile.yaml, but it fails because it cannot find hwcrypto/aes.h.
I installed the development version of ESPHome via pip install git+https://github.com/esphome/esphome.git@dev to see if this was recently fixed.
I get the same error with ESPHome 2022.6.1 and any 4.x.x platform. Deleting the .esphome and $HOME/.platformio/.cache directories doesn't help to fix this.
In file included from src/esphome/components/dsmr/dsmr.cpp:6:
.piolibdeps/dsmr/Crypto/AES.h:200:10: fatal error: hwcrypto/aes.h: No such file or directory
#include "hwcrypto/aes.h"
^~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs\dsmr\src\esphome\components\dsmr\dsmr.cpp.o] Error 1
kind3r/esp32-ble-gateway#3 (comment) mentions that this might be due to a change in the staging version of the Arduino framework that moves hwcrypto/* to esp32/*. Not sure how to apply that knowledge yet, though; that particular thread "solves" the issue by downgrading platform-espressif32 to 3.x, and I don't think that's a proper solution.
The problem
Using ESPHome with Arduino @ 2.0.3 and platform-espressif32 @ 4.4.0 breaks compilation of the DSMR component. I try to build the project with
esphome run thefile.yaml
, but it fails because it cannot findhwcrypto/aes.h
.I installed the development version of ESPHome via
pip install git+https://github.com/esphome/esphome.git@dev
to see if this was recently fixed.I get the same error with ESPHome 2022.6.1 and any 4.x.x platform. Deleting the
.esphome
and$HOME/.platformio/.cache
directories doesn't help to fix this.Which version of ESPHome has the issue?
2022.7.0-dev
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
n/a
What platform are you using?
ESP32
Board
frogboard
Component causing the issue
DSMR
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
The entire build log: bugreport-build-log.txt
The text was updated successfully, but these errors were encountered: