Servers by jDrones

Convert DEBUG port to common multi-purpose serial

serial
uart

(Sergey) #1

Hello,

I’m lack of serial ports on my Pixracer, and I found that debug port is also a uart port.
So the question is how to use Pixracer’s DEBUG serial port as the usual port?

I suppose it may be not possible just by configuration. So I’m ready to make needed changes in firmware to change mapping. But I’m don’t know where should I start looking at.


(Sergey) #2

Ok, so here the console is registered

So the console is dependent of CONSOLE_UART definition.
And CONSOLE_UART is dependent of CONFIG_USARTx_SERIAL_CONSOLE:

But I didn’t found where CONFIG_USARTx_SERIAL_CONSOLE is defined.
Where should I undefine it?