Thanks for your reply.
The problem is how could i print string via uart ?
In CW, redefine one function "TERMIO_PutChar" to one "uart_tx" function would realize it, how could i do it in s32DS.
ps: I have find one way to realize this function in keil, but i still want to know how to do it in S32DS.
only one func should be define in keil, here is the code.
int fputc(int ch,FILE *f)
{
UART_SendData(UART2,(u8)ch);
while(UART_GetFlagStatus(UART2,UART_Flag_TC)!= RESET);
return ch;
}
tao fu