Re: [SOLVED]Issues in Non-Blocking/Interrupt Based UART
Posted: Fri Jun 07, 2024 4:46 am
Error can be solved by following method though I do not recommend that, but it can implement interrupt based UART and you can have functioning code.
So, our approach was to use the functionand which were removed in newer version of IDF, for that you have to make few changes in UART.c and UART.h:
1. copy both of above-mentioned codes from older version of SDK found from github and paste them into your files (UART.c and UART.h).
2. in function find function and replace it with (for this you can directly compare from both SDKs function).
Feel free to ask question.
So, our approach was to use the function
Code: Select all
isr_register
Code: Select all
isr_free
1. copy both of above-mentioned codes from older version of SDK found from github and paste them into your files (UART.c and UART.h).
2. in
Code: Select all
uart_driver_install
Code: Select all
uart_int_alloc
Code: Select all
uart_isr_register
Code: Select all
uart_driver_install
Feel free to ask question.