I have some ideas how the firmware could be improved, however I never worked with Arduino, only esp-idf. Projects written in the latter usually come with a CMake-based build system, allowing me to do the familiar steps of
- hack hack hack, with my favorite editor
- build
- flash
However, I have no idea how to build the Arduino-based Airgradient firmware. I’ve installed the Arduino IDE, selected the OneOpenAir.ino sketch, added the Esspressif Toolchain, and selected “ESP32C3 Dev Module” as board, but once I hit the checkmark button (which, seems to be called “Verify”) I get
OneOpenAir:44:10: fatal error: AgApiClient.h: No such file or directory
44 | #include "AgApiClient.h"
Someone the IDE, or rather its compiler, has not set the right include directories.
What am I missing? What am I doing wrong?
Thanks in advance.