icc avr编译utchar未定义时解决方案.docVIP

  • 12
  • 0
  • 约4.36千字
  • 约 7页
  • 2017-05-13 发布于贵州
  • 举报
icc avr编译utchar未定义时解决方案

我在用iccavr编译程序“hello.c的时候,出现!ERROR file hello.o: undefined symbol _putchar E:\INSTAL~1\ICCAVR~1\bin\imakew.exe: Error code 1 Done: there are error(s). Exit code: 1. Mon Nov 11 23:07:35 2013。 附上源程序如下: #include iom128v.h #include macros.h unsigned char const SEGtable[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80}; unsigned char rxtemp=0x00; void port_init(void) //端口初始化 { PORTA = 0xFF; DDRA = 0xFF; PORTB = 0x00; DDRB = 0x00; PORTC = 0xFF; DDRC = 0xFF; PORTD = 0xFF; DDRD = 0x00; PORTE = 0x00; DDRE = 0x00; PORTF = 0xFF;

文档评论(0)

1亿VIP精品文档

相关文档