[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] gm2-avr
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] gm2-avr |
Date: |
Mon, 02 Feb 2015 10:18:29 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Wolfgang Both <address@hidden> writes:
> Hello,
>
> thank you for your work.
> I followed your script. libmp2 is missing, so I downloaded from
> .ubuntuupdates.org and
> after this all is installed.
> Your example flashled throws this:
>
> /usr/bin/avr-gm2 -mmcu='atmega32' -g -Os -fno-exceptions -O2
> flashled.mod -flibs=min -o flashled.elf
> /usr/bin/as: unrecognized option '-mmcu=atmega32'
>
> What is going wrong?
>
> Thanks in advance
> Wolfgang Both
Hi Wolfgang,
I wonder if you have binutils-avr installed? I might have missed this
in the package dependency. To fix this run:
sudo apt-get install binutils-avr
and then see if it finds the correct 'as'
regards,
Gaius