Xilinx provides UART driver example, working in BM configuration (xuartps_intr_example.c).
This example utilize interrupts.
However, there no examples on how to utilize UART driver under FreeRTOS!
I've tried wrapping the xuartps_intr_example in a task and creating another task (Beeper), that just prints a perioding message. (see attached file)
It doesn't work as expected, it outputs the following:
"main:: rtÿSuccessfully ran UART Interrupt Example Test"
I am expecting to see messages from the task Beeper, but task Beeper is in the blocked state, in fact all other tasks are in blocked state?!
I am suspecting that the UART interrupt setup affects the FreeRTOS somehow. Unfortunately, there are no clear instructions how to utilize Xilinx drivers under FreeRTOS and no design examples, that utilize interrupts under FreeRTOS.