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:


         


        root@mora-M17xR3:/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,


        Carlos

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to