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
ESP32C6 requires NEED_LOOKAHEAD_ENUM but the existing ifdefs in SDI12.h skip it.
It seems like the ESP-IDF version ESP32C6 Arduino framework uses for my specific ESP32C6 board (Seeed XIAO ESP32C6) is above the version in SDI12.h resulting in NEED_LOOKAHEAD_ENUM not being set and compilation failing due to the enum being missing (similar to ESP8266/ESP32 build failures before adding support).
Is there a rationale for the existing ESP IDF version check? Is there a more portable/universal check?
It was added for release 3.0.5/IDF 5.1.4. When I set up the define, I don't think I realized that versions 3.0.0 - 3.0.4 use the same IDF version without having the enum. It looks like there are also defines for the core that I could use as the check here: https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp_arduino_version.h. I don't know when I'll get to applying that change.
ESP32C6 requires NEED_LOOKAHEAD_ENUM but the existing ifdefs in SDI12.h skip it.
It seems like the ESP-IDF version ESP32C6 Arduino framework uses for my specific ESP32C6 board (Seeed XIAO ESP32C6) is above the version in SDI12.h resulting in NEED_LOOKAHEAD_ENUM not being set and compilation failing due to the enum being missing (similar to ESP8266/ESP32 build failures before adding support).
Is there a rationale for the existing ESP IDF version check? Is there a more portable/universal check?
My build environment in PlatformIO:
The text was updated successfully, but these errors were encountered: