avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] attiny84


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] attiny84
Date: Mon, 15 Jan 2007 23:15:05 +0100
User-agent: Mutt/1.5.11

As Yann GOUY wrote:

> so, is there a trick to compile C for the attiny84, such as giving
> the -mmcu=avr2 option to avr-gcc and defining a _ATTINY84_ before
> every inclusion of avr/io.h?

The trick is that you have to patch your binutils and GCC first,
*before* compiling avr-libc.

See this avrfreaks.net thread:

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=42631

for someone who wrote this into a Linux script.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

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