范例为ATMEL网站上的应用笔记AVR306,一个USART中断驱动程序。使用IAR3.20编译器软件,编译过不去,错误信息如下:
Changed settings forces a full rebuild... Rebuilding configuration: rs232 - Debug
0 file(s) deleted.
USART2.c iccavr.exe --cpu=m128 -ms -o C:Documents and Settingswensir桌面atmel网站串口中断 驱动DebugObj -y --initializers_in_flash -z3 --no_cse --no_inline --no_code_motion --no_cross_call --no_clustering --debug -e -I C:Program FilesIAR SystemsEmbedded Workbench Evaluation versionavrINC -I C:Program FilesIAR SystemsEmbedded Workbench Evaluation versionavrINC CLIB --eeprom_size 4096 C:Documents and Settingswensir桌面atmel网站串口中断 驱动USART2.c
IAR Atmel AVR C/EC++ Compiler V3.20A/W32, Evaluation Version Copyright 1996-2004 IAR Systems. All rights reserved. Error[Pe020]: identifier "RXCIE0" is undefined Error[Pe020]: identifier "RXEN0" is undefined Error[Pe020]: identifier "TXEN0" is undefined Error[Pe020]: identifier "USBS0" is undefined Error[Pe020]: identifier "UCSZ01" is undefined Error[Pe020]: identifier "UCSZ00" is undefined Error[Pe020]: identifier "UDRIE0" is undefined Error[Pe020]: identifier "UDRIE0" is undefined
Errors: 8 Warnings: none
Total number of errors: 8 Total number of warnings: 0
|