We use PRINTF_UART macro to routes printf to UART instead of semihosting in the debugger console. But how we can router scanf to UART
I used this toturial to get this info https://fpgawiki.intel.com/wiki/SoCEDSGettingStarted
You can use the fscanf function and point it to the UART (File based style).
Thank you for your replying,
I am builting baremetal application so, can you give me more details as I am beginner in this field.
You can find very useful info in Rocket boards.org
For more complete information about compiler optimizations, see our Optimization Notice.