I want to use both the serial ports on the development board. One port for outputting messages with printf() and the other one for writing out bytes with the normal open()/write() API functions.
Currently serial port 1 (/com/0) is used by printf(), how can I change this so it uses the other port?
(I need the first serial port for my application, the second serial port is optional for debugging, since it can only be used with modules that have a JTAG connector if I understand this correctly).