Navigate to the tab to change default baud rates, data bits, parity, and stop bits. Click on the Advanced button. Here you can:

// Additional logic from the same patch if (up->port.type == PORT_16C950) if (baud == port->uartclk/4) serial_icr_write(up, UART_TCR, 0x4); else if (baud == port->uartclk/8) serial_icr_write(up, UART_TCR, 0x8); else serial_icr_write(up, UART_TCR, 0);

In bare-metal systems, the driver often runs in a polled mode or simple interrupt context. With an RTOS like FreeRTOS, you can implement a proper serial driver with task notifications: