Hello,
I've been using a Zedboard to creating a test signal device.
The basic issue I have is I haven't been able to read the pre-configured uart stdin terminal in a non-blocking way.
Currently my application runs a test loop indefinitely, and gives results out on the 'built-in' uart/usb terminal interface. I've added a hardware interrupt using one of the onboard push button to end the testing loop. It would be significantly more convenient to be able to press enter in the terminal to break from the endless testing loop. I haven't found a way to look at the terminal input buffer in a non-blocking way to achieve this.
Any advice?
I've tried looking into the XUartPs_Recv() function, but I'm unsure how to use this function with the pre-established uart terminal.
Any sample code or pointers to code would be greatly appreciated as I'm a .c novice.
Thanks