Skip to content

Add proper checks to exclude code for older ESP-IDF versions#214

Open
netmindz wants to merge 1 commit intosomeweisguy:release/v4.1from
netmindz:esp-idf-v5-fixes
Open

Add proper checks to exclude code for older ESP-IDF versions#214
netmindz wants to merge 1 commit intosomeweisguy:release/v4.1from
netmindz:esp-idf-v5-fixes

Conversation

@netmindz
Copy link

@netmindz netmindz commented Nov 8, 2025

Claude thinks this is the correct fix ...

The file already has the proper includes for IDF V5, but the actual implementation in the dmx_uart_init and dmx_uart_deinit functions still uses the old API. The attached file shows the CORRECT version. Let me replace the old implementation with the IDF V5-compatible version from the attachment:
Now let me replace the entire dmx_uart_init and dmx_uart_deinit functions with the proper IDF V5-compatible versions:
The code is the same. The issue is that in IDF V5.2+, the uart_periph_signal structure doesn't have a .module member. Let me check what members it does have and fix it properly:

@ckloeti
Copy link

ckloeti commented Jan 31, 2026

Many thanks Will, works perfectly for me

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.

2 participants