avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Suport for ATmega168


From: Сергей Кушнир
Subject: [avr-gcc-list] Suport for ATmega168
Date: Mon, 2 Oct 2006 11:33:42 +0400

Hi to all! I have problem. How can I compile my prog to ATmega168? My
version of AVR GCC is 3.4.6 and AVR LibC 1.4.4. When I checking
support for MCU, it says:
-mmcu=[avr-name] select microcontroller variant
                 [avr-name] can be:
                 avr1 - AT90S1200, ATtiny1x, ATtiny28
                 avr2 - AT90S2xxx, AT90S4xxx, AT90S8xxx, ATtiny22
                 avr3 - ATmega103, ATmega603
                 avr4 - ATmega83, ATmega85
                 avr5 - ATmega161, ATmega163, ATmega32, AT94K
Known MCU names:
avr1 avr2 avr3 avr4 avr5 at90s1200 attiny10 attiny11 attiny12 attiny15
attiny28 at90s2313 at90s2323 at90s2333 at90s2343 attiny22 attiny26
at90s4433 at90s4414 at90s4434 at90s8515 at90s8535 at90c8534 at86rf401
attiny13 attiny2313 atmega603 atmega103 at43usb320 at43usb355 at76c711
atmega48 atmega8 atmega83 atmega85 atmega88 atmega8515 atmega8535
atmega16 atmega161 atmega162 atmega163 atmega165 atmega168 atmega169
atmega32 atmega323 atmega325 atmega3250 atmega64 atmega128 atmega645
atmega6450 at90can128 at94k

That is, compiler knows my MCU! But cant using - libraries havent installed!
Then, I've checked usr/avr/lib, but didnt saw object files for new
MCUs. So, I tryed to reinstall Libc. In Libc tree: "./configure
--build=`./config.guess` --host=avr"
Configuring process showed me this:

checking if avr-gcc has support for atmega48... no
checking if avr-gcc has support for atmega88... no
..........................................................................
checking if avr-gcc has support for atmega168... no

In every line where script is checking support for new MCU, was word
"no". And so, IMHO, libraries for new MCU werent installed, only old.
It is very strange. How it's checking MCU support and where? As you
see, installed avr-gcc HAS support for new MCU, but the script isnt
see it. Whats's wrong?

Best regards
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]