串口打印信息

#include "..\inc\config.h"
void Main(void)
{	
	Target_Init();                              //目标板初始化,在target.c中定义
    Delay(10);
                                                    //串口0输出
    Uart_Printf(0,"***********************\n");
    Uart_Printf(0,"欢迎使用ADS开发环境\n");
    Uart_Printf(0,"***********************\n");
    Uart_Printf(0,"\n");
    while(1)
    {
    	Uart_Printf(0,"Hello world!\n");
    }
    while(1);	
}

   说来惭愧,完了这么久的ARM还是玩串口,

原文地址:https://www.cnblogs.com/tao560532/p/2293814.html