https://blog.csdn.net/qq_35181236/article/details/132789258
使用 uart9
配置
打印
void hal_entry(void)
{
/* TODO: add your own code here */
fsp_err_t err;
uint8_t c;
/* 配置串口 */
err = g_uart9.p_api->open(g_uart9.p_ctrl, g_uart9.p_cfg);
while (1)
{
g_uart9.p_api->write(g_uart9.p_ctrl, "uart9 send test\r\n", 8);
for (size_t i = 0; i < 3*1000*1000; i++)
{
;
}
}
}