Search found 3 matches
- Mon Jun 05, 2023 2:34 pm
- Forum: General Discussion
- Topic: Freeing default UART ISR in ESP-IDF v5.2
- Replies: 7
- Views: 4129
Re: Freeing default UART ISR in ESP-IDF v5.2
If you want to set up the uart parameters, you're probably better off using the HAL layer. (Note that it says use in applications is unsupported, but I'd say your setup of relying on a driver uninstall to keep the settings intact is more unsupported-er.) It feels like this doesn't answer my origina...
- Mon Jun 05, 2023 12:54 pm
- Forum: General Discussion
- Topic: Freeing default UART ISR in ESP-IDF v5.2
- Replies: 7
- Views: 4129
Re: Freeing default UART ISR in ESP-IDF v5.2
Unless you install the UART driver beforehand, the UART for stdout doesn't use any interrupts (it's a simple polling driver) so you shouldn't have to uninstall anything. Do you not need to install the UART drivers for the peripheral to work? I am using non-default settings (baud, parity, stop bits,...
- Fri Jun 02, 2023 8:11 pm
- Forum: General Discussion
- Topic: Freeing default UART ISR in ESP-IDF v5.2
- Replies: 7
- Views: 4129
Freeing default UART ISR in ESP-IDF v5.2
I am trying to create a new UART interrupt service routine and have looked at many examples and the ESP-IDF documentation on how to do this. Everything I have seen points to the function uart_intr_free() as the function to call in order to free the default handle and then assign your own using esp_i...