Forum Discussion
HEass
New Contributor
7 years agoHow can I route scanf to UART in ARM in DE0-Nano-SoC board
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
3 Replies
- Ahmed_H_Intel1
Frequent Contributor
Hi,
You can use the fscanf function and point it to the UART (File based style).
Regards.
- HEass
New Contributor
Thank you for your replying,
I am builting baremetal application so, can you give me more details as I am beginner in this field.
Thanks.
- Ahmed_H_Intel1
Frequent Contributor
You can find very useful info in Rocket boards.org