Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

Error on copile sketch for YUN

Open beinnova opened this issue 12 years ago • 2 comments

Hi I try to compile my skatch today for my YUN and recive this error.

as: unrecognized option '-mmcu=atmega32u4'

My editor is 1.5.4 and this is coplet output

 /home/josh/opt/arduino-1.5.4/hardware/tools/avr/bin/avr-gcc++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=154 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 -DUSB_MANUFACTURER= -DUSB_PRODUCT="Arduino Yun" -I/home/josh/opt/arduino-1.5.4/hardware/arduino/avr/cores/arduino -I/home/josh/opt/arduino-1.5.4/hardware/arduino/avr/variants/leonardo -I/home/josh/opt/arduino-1.5.4/libraries/Bridge/src /tmp/build5455230936226247301.tmp/test_1.cpp -o /tmp/build5455230936226247301.tmp/test_1.cpp.o

Thanks

beinnova avatar Jan 03 '14 14:01 beinnova

It looks like the compiler doesn't know about the 32u4. Is it the compiler bundled with the IDE? While you're at it, can you also upgrade to the latest 1.5.5?

ffissore avatar Jan 03 '14 15:01 ffissore

Fixed with 1.5.5. Thanks!!!! I offer you a cup of coffee as soon as we see in Toolbox :-D

2014/1/3 Federico Fissore [email protected]

It looks like the compiler doesn't know about the 32u4. Is it the compiler bundled with the IDE? While you're at it, can you also upgrade to the latest 1.5.5?

— Reply to this email directly or view it on GitHubhttps://github.com/arduino/Arduino/issues/1785#issuecomment-31527547 .

Be__innova di Giorgio Cerruti WebSites | IT consultant | Web Developer Phone: +39 340/87.68.326 :: Skype: beinnova P.IVA: 10755560017 Visit Beinnova http://www.beinnova.it Site

  • Giorgio Cerrutihttp://it.linkedin.com/pub/giorgio-cerruti/31/422/852/

beinnova avatar Jan 03 '14 15:01 beinnova