UARTStdioInit(0); //初始化UART控制所需I/O
}
/*将SSI0配置成SPI主模式*/
int main(void)
{
unsigned long ulDataTx[NUM_SSI_DATA];
unsigned long ulDataRx[NUM_SSI_DATA];
unsigned long ulindex;
/* Send the data using the "blocking" put function. This function
will wait until there is room in the send FIFO before returning.
This allows you to assure that all the data you send makes it into
the send FIFO*/
SSIDataPut(SSI0_BASE, ulDataTx[ulindex]);
}
//
// 等待SSI0把所有数据都传进发送FIFO
while(SSIBusy(SSI0_BASE))
{
}
// Display indication that the SSI is receiving data.
return(0);
}
编译后出现的错误如下,请高手指点下,我是初学M4,谢谢
spi.axf: Error: L6366E: uart.obj attributes are not compatible with the provided cpu and fpu attributes .
spi.axf: Error: L6366E: sysctl.obj attributes are not compatible with the provided cpu and fpu attributes .
spi.axf: Error: L6366E: interrupt.obj attributes are not compatible with the provided cpu and fpu attributes .
spi.axf: Error: L6366E: gpio.obj attributes are not compatible with the provided cpu and fpu attributes .
spi.axf: Error: L6366E: cpu.obj attributes are not compatible with the provided cpu and fpu attributes .