編譯時出現"is incompatible with avr"
發生原因:從attiny45編譯過的資料夾copy至新資料夾,修改usbconfig及makefile後編譯atmega8.
解決方式:將usbdrv資料夾內,副檔名為.o及.f刪除,重新編譯即可.
c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: avr:25 a rchitecture of input file `usbdrv/usbdrv.o' is incompatible with avr:4 output c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: avr:25 a rchitecture of input file `usbdrv/usbdrvasm.o' is incompatible with avr:4 output c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: avr:25 a rchitecture of input file `usbdrv/oddebug.o' is incompatible with avr:4 output |
全站熱搜
留言列表