Forum Discussion
Altera_Forum
Honored Contributor
19 years agoI have found a simple way to modify library: copy altera_avalon_uart.c module from the original folder to my project folder, rename it to mycorp_avalon_uart.c. Now I can modify the receiver ISR in my local module to wake up the task AFTER checking the parity/frame error and job would be done. My code is linking this way, that functions from my local module overwrite library functions.
The problem is that I still have read() returning zero in my readuartwithtimeout sometimes when called just after receiving OS flag set notification. Cannot fully understand the reason behind this behaviour when inspecting the code... Any ideas?