Skip to content

Conversation

@onetabsen
Copy link

@onetabsen onetabsen commented Sep 15, 2025

I am just trying to refactor libs for arduino-esp32 version 3.3.0 with esp-idf 5.3.0+

@JarrettR
Copy link

This pointed me in the right direction for some compilation errors, thank you.
But one point:
Your logic for UART numbers doesn't seem to be accurate for the C6
SOC_UART_NUM is 3, but there is no PERIPH_UART2_MODULE

I guess it should instead be based on SOC_UART_HP_NUM. The ESP32-C6 seems to be the only chip that has a different number there than SOC_UART_NUM

@hanskerkhof
Copy link

I ran into the esp-idf - 5.3.0v+ problem when trying to compile a sketch from about 2 years ago.
Patched the librray with this PR and tested it on an ESP32-WROOM-32 and ESP32-WROOM-32D with Arduino-ESP32 3.3.0 based on ESP-IDF 5.5.0.
It fixed the compilation error and the library works like charm on with my DMX devices on UART1 (dmx_set_pin(DMX_NUM_1, 17, 16, 21)) 👍

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

Successfully merging this pull request may close these issues.

3 participants