Micropendous_32U2 fails to compile on Linux U10.04 with avr-gcc 4.3.4

21 views
Skip to first unread message

Andrea Montefusco

unread,
May 16, 2011, 1:29:02 PM5/16/11
to microp...@googlegroups.com
Hi all,

I just received some Micropendous_32U2; according to the page

http://code.google.com/p/micropendous/wiki/Micropendous_32U2

i downloaded the code form SVN and changed into the makefile

MCU = atmega32u2
BOARD = USER
F_CPU = 16000000

alas, the

make clean ; make all

fails with

MicropendousKeyboardTest.c:1: error: MCU �atmega32u2� supported for assembler only
/usr/lib/gcc/avr/4.3.4/../../../avr/include/avr/io.h:364:6: warning: #warning "device type not defined"

I am using using avr-gcc (GCC) 4.3.4, on Linux Ubuntu 10.04, installed from the binary package

gcc-avr

maybe have I to install a more recent avr-gcc package ?

TIA

*am*

---------------------------------------------------------
Andrea Montefusco iw0hdv http://www.montefusco.com
tel: +393356992791 fax: +390623318709
---------------------------------------------------------

IW0HDV

unread,
May 16, 2011, 2:02:29 PM5/16/11
to Micropendous
On May 16, 7:29 pm, Andrea Montefusco <andrea.montefu...@gmail.com>
wrote:
> maybe have I to install a more recent avr-gcc package ?

I was right: I installed the source from the SVN and avr-gcc tool suit
on my laptop with U11.04 and everything works fine.
Really the avr-gcc is at 4.3.5 instead of 4.3.4.

In this page

http://olek.tk/en/mega32u2.php

there are instructions to upgrade U10.04 but I didn't yet test them.

*am*


Reply all
Reply to author
Forward
0 new messages