This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

About printf

If i have two serial port in the controller(interfaced 16c550) how to access both using printf library

Parents
  • Either write your own com2_printf() that makes use of vsnprintf() and then copies the formatted string to the second port, or add a variable that controls which physical port that should receive the output from printf().

Reply
  • Either write your own com2_printf() that makes use of vsnprintf() and then copies the formatted string to the second port, or add a variable that controls which physical port that should receive the output from printf().

Children
No data