-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Fixes UART detach. Fixes #3878 #3894
Conversation
any news on this? |
Are you sure that arduino-esp32/cores/esp32/esp32-hal-matrix.c Lines 28 to 41 in 37a7fb3
arduino-esp32/cores/esp32/esp32-hal-spi.c Lines 147 to 181 in 37a7fb3
I guess there could also be an error in the If they really do take different arguments, you only need to change the |
I didn't change the header definitions for either of the pinMatrix detach functions, so I'm pretty sure the arguments are correct. This PR is specifically to deal with the fact that the UART_TXD_IDX pins (which are in the 200s, IIRC) no longer work in the IDF functions. The SPI versions of those pins must still work, since nobody is complaining about SPI::end failing. |
See also #3205 |
From what I can tell, there used to be a hidden mechanism to detach the uart pins in gpio_matrix_out. This no longer works, so we need to keep track of what pins we assign.