最近用IAR做CC2510点对点无线通信实验的时候,LINK_LISTEN一端能够导入板子,LINK_TO一端编译的时候出现如下错误:
Fatal Error[Pe035]: #error directive: "The macros UART_NUMBER and UART_LOCATION must be defined for 8051 processors." C:\Texas Instruments\备份\SimpliciTI-IAR-1.1.1(2012-3-13)\SimpliciTI-IAR-1.1.1\Components\bsp\drivers\uart.h 497
Error while running C/C++ Compiler
出错的位置在uart.h中:
#if ( !defined UART_NUMBER )
|| !( defined UART_LOCATION )
#error "The macros UART_NUMBER and UART_LOCATION must be defined for 8051 processors."
#endif
网上没有找到资料啊,请问应该如何处理,
谢谢:) |