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

"[email protected]" <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <157fe5797def52564bd096b04f03ce2d.squirrel@mymail5.myregisteredsite.com>



	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
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.