[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] [Q] When compiling I'm getting an error witth -mmcu

From: address@hidden
Subject: [avr-gcc-list] [Q] When compiling I'm getting an error witth -mmcu
Date: Fri, 31 May 2013 08:07:41 -0400
User-agent: SquirrelMail/1.4.22

I usr ubuntu with android wgen it gets to the compile section on the serial screen i get the following error:


avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/share/arduino/libraries/pololu /tmp/build1526914619127724341.tmp/G_Motor.cpp -o/tmp/build1526914619127724341.tmp/G_Motor.cpp.o
as: unrecognized option '-mmcu=atmega328p'


Where  are the  options set?


It is in the library:


address@hidden:/usr/local/avr# ls /usr/lib/avr/lib
libpololu_atmega1284p.a     libpololu_atmega168.a   libpololu_atmega328p.a  libpololu_atmega644p.a
libpololu_atmega1284p_x2.a  libpololu_atmega324p.a  libpololu_atmega48.a


Any help would be very much appreciated.



Thanks in advance,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]