我用CH375作USB主機(jī)方式,以串口方式讀取U盤數(shù)據(jù)。參考貴公司提供的CH375LIB\AVR\FILELIBB\EXAM1 CH375HFT.C程序,添加的頭文件是CH375HFB.H。但為什么編譯出現(xiàn)這種錯(cuò)誤呢?我用的是ICC編譯器。 CH375HFT.C程序的頭文件也就只有CH375HFB.H這一個(gè)!
E:\iccv7avr\bin\imakew -f CH375TEST8.mak iccavr -o CH375TEST8 -g -e:0x4000 -ucrtatmega.o -bfunc_lit:0x54.0x4000 -dram_end:0x45f -bdata:0x60.0x45f -dhwstk_size:16 -beeprom:0.512 -fihx_coff -S2 @CH375TEST8.lk -lcatmega !ERROR file 'ch375test8.o': undefined symbol '_pDISK_BASE_BUF' !ERROR file 'ch375test8.o': undefined symbol '_CH375LibConfig' !ERROR file 'ch375test8.o': undefined symbol '_CH375DiskReady' !ERROR file 'ch375test8.o': undefined symbol '_CH375Init' !ERROR file 'ch375test8.o': undefined symbol '_CH375IntStatus' !ERROR file 'ch375test8.o': undefined symbol '_delay1us' !ERROR file 'ch375test8.o': undefined symbol '_CH375DiskStatus' !ERROR file 'ch375test8.o': undefined symbol '_LCD_write_char' !ERROR file 'ch375test8.o': undefined symbol '_CH375GetVer' !ERROR file 'ch375test8.o': undefined symbol '_CH375DiskConnect' E:\iccv7avr\bin\imakew.exe: Error code 1 Done: there are error(s). Exit code: 1. Mon Apr 27 15:41:48 2009