abcminiuser / lufa

LUFA - the Lightweight USB Framework for AVRs.
http://www.lufa-lib.org
1.04k stars 325 forks source link

CDC Bootloader does not work with AVR-GCC 4.9.2 #45

Closed NicoHood closed 9 years ago

NicoHood commented 9 years ago

I tried to compile with the newest winavr patch with avr-gcc 4.9.2 from here and this totally breaks the bootloader: http://sourceforge.net/projects/mobilechessboar/files/avr-gcc%20snapshots%20%28Win32%29/

It compiles with 200 bytes less kb but wont work at all. Just want to note it here, if anyone else rans into the problem. 4.9.2 is really the most up to date compiler, not even sure if its declared stable.

4.8.1 worked for me. (under linux)

But it could be that my winavr installation is broken. edit: it really seems that the patch isnt working as it is supposed to do.

NicoHood commented 9 years ago

Nevermind its my setup. Never compile under windows, it will just never work (at least for me)XD

NicoHood commented 9 years ago

It wasnt even the compiler, it was me. (as expected). Didnt change the flash size for 32u2 to 32kb instead of 16kb.