HI , ALL
i coded the uart_init in my project.
and i want to regarget the printf in my project.
so i find the retarget function is in the 'retarget.c' ,
i tried define __CC_ARM , ICCARM , GNUC
all failed .
the statement printf("bcde"); only echo b' on my PC
my uart init function shows following:
void uart_init(void)
{
const app_uart_comm_params_t comm_params= {
RX_PIN_NUMBER,
TX_PIN_NUMBER,
RTS_PIN_NUMBER,
CTS_PIN_NUMBER,
APP_UART_FLOW_CONTROL_ENABLED,
false,
UART_BAUDRATE_BAUDRATE_Baud115200
};
app_uart_init(&comm_params,
NULL,
NULL,
APP_IRQ_PRIORITY_LOW);
}