Community
cancel
Showing results for 
Search instead for 
Did you mean: 
HEass
Beginner
1,362 Views

How 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

0 Kudos
3 Replies
Ahmed_H_Intel1
Employee
82 Views

Hi,

You can use the fscanf function and point it to the UART (File based style).

Regards.

HEass
Beginner
82 Views

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
Employee
82 Views

Reply