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
C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c: In function 'dmx_uart_init': C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c:330:51: error: 'uart_signal_conn_t' has no member named 'module' 330 | periph_module_enable(uart_periph_signal[dmx_num].module); | ^ C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c:338:52: error: 'uart_signal_conn_t' has no member named 'module' 338 | periph_module_reset(uart_periph_signal[dmx_num].module); | ^ C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c: In function 'dmx_uart_deinit': C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c:384:56: error: 'uart_signal_conn_t' has no member named 'module' 384 | periph_module_disable(uart_periph_signal[uart->num].module);
The text was updated successfully, but these errors were encountered:
esp_dmx/src/dmx/hal/uart.c refers to uart_periph.h and expects to find a definition of uart_signal_conn_t that contains a 'module' member. Except it does not exist in the version of uart_periph.h as given.
uart_periph.h is both found in /esp-idf/components/soc/include/soc/uart_periph.h
and in /home/bert/esp/esp-idf/components/soc/esp32/uart_periph.c
The second version contains the right definition of uart_signal_conn_t as expected, but is included for the compiler AFTER the first version, so the wrong content is selected.
Up until commit dca7c286d009024d8bacab52425c93a91ffc49c7, the version that was in /components/soc/include/soc/uart_periph.h did contain the expected definition, but was removed. Commit found here
C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c: In function 'dmx_uart_init': C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c:330:51: error: 'uart_signal_conn_t' has no member named 'module' 330 | periph_module_enable(uart_periph_signal[dmx_num].module); | ^ C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c:338:52: error: 'uart_signal_conn_t' has no member named 'module' 338 | periph_module_reset(uart_periph_signal[dmx_num].module); | ^ C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c: In function 'dmx_uart_deinit': C:/Users/juanp/OneDrive/Documentos/Digital-dots/firmware-lights/components/esp_dmx/src/dmx/hal/uart.c:384:56: error: 'uart_signal_conn_t' has no member named 'module' 384 | periph_module_disable(uart_periph_signal[uart->num].module);
The text was updated successfully, but these errors were encountered: