Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32C6 Compatibility #149

Open
ndoo opened this issue Jan 6, 2025 · 0 comments
Open

ESP32C6 Compatibility #149

ndoo opened this issue Jan 6, 2025 · 0 comments

Comments

@ndoo
Copy link

ndoo commented Jan 6, 2025

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:

[env:xiao-esp32c6]
platform = https://github.com/mnowak32/platform-espressif32.git#boards/seeed_xiao_esp32c6
platform_packages = 
    framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.2
    framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.2/esp32-arduino-libs-3.0.2.zip
framework = arduino
board = seeed_xiao_esp32c6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant