I'm getting an error when I build my project in Eclipse. I don't know if it's caused by the AVR plugin or my gcc version.
Here's what is returned in the console:
**** Clean-only build of configuration Debug for project SharpIR **** make clean rm -rf ./SharpIR.o ./a2d.o ./SharpIR.d ./a2d.d SharpIR.hex SharpIR.lss sizedummy SharpIR.elf **** Build of configuration Debug for project SharpIR **** make all Building file: ../SharpIR.c Invoking: AVR Compiler avr-gcc -Wall -g2 -gstabs -O0 -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -mmcu=atmega168 -DF_CPU=1000000UL -MMD -MP -MF"SharpIR.d" -MT"SharpIR.d" -c -o"SharpIR.o" "../SharpIR.c" as: unrecognized option '-mmcu=atmega168' make: *** [SharpIR.o] Error 1
OS - Ubuntu Linux 8.10
AVR gcc version - 4.3.0
Eclipse version - 3.4.0
AVR Eclipse plugin version - 2.3.1
Any help is appreciated.
I found a reference in my project to avr-gcc-4.2.2.