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