Bettapro / Solar-Tracer-Blynk-V3

Connect the EPSolar/EPEver Tracer A/B Series (RS-485 Modbus) to an ESP8266/ESP32 and monitor using Blynk /Homeassistant/MQTT... .
GNU General Public License v3.0
51 stars 11 forks source link

circular_queue.h: No such file or directory, after EspSoftwareSerial upgrade to 8.2.0 #81

Open grz3chu opened 7 months ago

grz3chu commented 7 months ago

The EspSoftwareSerial project introduced major changes in version 8.2.0, currently the project is only built in version 8.0.3.

`In file included from .pio/libdeps/wemos_d1_mini32/EspSoftwareSerial/src/SoftwareSerial.cpp:21: .pio/libdeps/wemos_d1_mini32/EspSoftwareSerial/src/SoftwareSerial.h:24:10: fatal error: circular_queue.h: No such file or directory


Environment Status Duration


wemos_d1_mini32 FAILED 00:00:18.806 ==================================== 1 failed, 0 succeeded in 00:00:18.806 ====================================`

grz3chu commented 7 months ago

Switch to https://github.com/plerup/espsoftwareserial.git#8.0.3 in platformio.ini solves the problem.

Bettapro commented 7 months ago

As far as I understand, the problem is caused by a transitive dependency that is missing (platformio is not able to resolve and install at the moment). image

The library is https://github.com/dok-net/ghostl . You can use the previous version (as you mentioned) or just add it to lib_deps like so: image

These are just temp. solutions, it will be solved automagically as soon as the library "ghostl" will be added to platformio registry.