vortigont / pzem-edl

An event-driven library for ESP32 implementing PZEM-004T v3.0 / PZEM-003 / PZEM-017 Modbus-RTU proto
GNU General Public License v3.0
21 stars 4 forks source link

Missing UART library? #2

Closed MBL-derek closed 2 years ago

MBL-derek commented 2 years ago

Trying to get your code to compile.

msgq.hpp:14:10: fatal error: driver/uart.h: No such file or directory

https://github.com/vortigont/pzem-edl/blob/9750b664b68908340d9679b8b6ee936e260e693c/src/msgq.hpp#L14

What am I missing library-wise?

vortigont commented 2 years ago

Hi! ugh, that's strange. uart.h is the header from esp32 IDF sdk, no need for any additional libs. What is your build env? Plain IDF/Arduino/platformio? I have examples for the lib based on Platformio, it build fine with a simple 'pio run'. Could you check it?

vortigont commented 2 years ago

The only external dependency is my fork of a LinkedList library, needed for TimeSeries structures