#include "..\inc\config.h"void Main(void){Target_Init(); //目標(biāo)板初始化,在target.c中定義 Delay(10); //串口0輸出 Uart_Printf(0,"***********************\n"); Uart_Printf(0,"歡迎使用ADS開發(fā)環(huán)境\n"); Uart_Printf(0,"***********************\n"); Uart_Printf(0,"\n"); while(1) { Uart_Printf(0,"Hello world!\n"); } while(1);}
說來慚愧,完了這么久的ARM還是玩串口,