Page 1 of 1

What version of avr-gcc is MultiWii built with?

Posted: Fri Apr 25, 2014 5:34 am
by Seigfried
Simple, really. What version of avr-gcc do the developers use? I ask because Arch Linux upgrades packages really fast, and I think my latest update has broken MultiWii in some form or another. I saw in the .cpp/.h thread something about 4.5? Also, has anyone else had problems with newer versions of avr-gcc? I'm running 4.8

Re: What version of avr-gcc is MultiWii built with?

Posted: Fri Apr 25, 2014 7:13 am
by Hamburger
Official reference for MWii is arduino ide. So wbhatever version of gcc it has is it. Current arduino version for MWii is
105 I think

Re: What version of avr-gcc is MultiWii built with?

Posted: Fri Apr 25, 2014 12:45 pm
by Seigfried
Ok, thanks. For reference, 1.0.5 uses anywhere from 2.4 to 2.8, according to this http://forum.arduino.cc/index.php/topic,203780.0.html

Re: What version of avr-gcc is MultiWii built with?

Posted: Fri Apr 25, 2014 3:15 pm
by stronnag
Builds fine with avr-gcc 4.8.2 and 4.9.0 on Arch for me (and I flew the 4.8.2 build yesterday). Multiwii 2.3 with a patch for PROGMEM in GPS.cpp, which I posted about some time ago.

Re: What version of avr-gcc is MultiWii built with?

Posted: Fri Apr 25, 2014 9:38 pm
by Seigfried
I added that patch and it compiles. I'm still having PWM issues, though, so I'm going to try compiling with the stock arduino avr-gcc in a ubuntu vbox

Re: What version of avr-gcc is MultiWii built with?

Posted: Fri Apr 25, 2014 9:52 pm
by Seigfried
Everything works after compiling with stock arduino 1.0.5! I think the FFIMUv2 board files never got updated to work properly with newer avr-gcc versions, because my status LEDs also weren't working.