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

uart.c doesn't compile on PlatformIO for ESP32-C6 #183

Open
hesara opened this issue Dec 8, 2024 · 0 comments
Open

uart.c doesn't compile on PlatformIO for ESP32-C6 #183

hesara opened this issue Dec 8, 2024 · 0 comments

Comments

@hesara
Copy link

hesara commented Dec 8, 2024

For PlatformIO and ESP32-C6, at least for the Seeed XIAO ESP32-C6 with the Arduino framework, it seems that an additional include in hal/uart.c is needed for it to compile:

#include "soc/lp_clkrst_struct.h"

See also #162 and the related PR #158 .
Adding the include fixes the compilation, but I haven't tested this with real DMX hardware yet.

Using this PlatformIO environment:

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
board = seeed_xiao_esp32c6
framework = arduino
lib_deps =
    someweisguy/esp_dmx @ ^4.1.0
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