AVR Toolchain - Build 2006-02-06
Documentation
AVR Toolchain Build Tests
AVR Libc User Manual
Downloads
AVR-Toolchain - 2006-02-06 Build Binary Package - No Docs
AVR-Toolchain - 2006-02-06 Build Binary Package
Notes
the single greatest number of “bug” reports we get are due to the user not setting the env variable AVR.
on a linux system:
export AVR=/usr/local/avr (or wherever you've installed it, $HOME/avr, /opt/avr, etc ) export AVRROOT=$AVR export AVRBIN=$AVRROOT/bin export AVRLIB=$AVRROOT/lib/avrlib export PATH=$AVR/bin:$PATH
these can be placed in your ~/.bashrc file
of course, the $AVRROOT should be where the user has placed the toolchain and avrlib ( /opt/avr and ~/avr are popular too )
there is a generated rc file in the root of the install dir as well, it can be modified to suit.
From avr-as –help
AVR options:
-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
or immediate microcontroller name.
-mall-opcodes accept all AVR opcodes, even if not supported by MCU
-mno-skip-bug disable warnings for skipping two-word instructions
(default for avr4, avr5)
-mno-wrap reject rjmp/rcall instructions with 8K wrap-around
(default for avr3, avr5)
Known MCU names:
avr1 avr2 avr3 avr4 avr5 at90s1200 attiny10 attiny11 attiny12 attiny15
attiny28 at90s2313 at90s2323 at90s2333 at90s2343 attiny22 attiny25
attiny26 attiny45 attiny85 at90s4433 at90s4414 at90s4434 at90s8515
at90s8535 at90c8534 at90pwm2 at90pwm3 at86rf401 attiny13 attiny2313
attiny261 attiny461 attiny861 attiny24 attiny44 attiny84 atmega603
atmega103 at43usb320 at43usb355 at76c711 atmega48 atmega8 atmega83
atmega85 atmega88 atmega8515 atmega8535 atmega16 atmega161 atmega162
atmega163 atmega164 atmega165 atmega168 atmega169 atmega32 atmega323
atmega324 atmega325 atmega329 atmega3250 atmega3290 atmega406 atmega64
atmega640 atmega128 atmega1280 atmega1281 atmega644 atmega645 atmega649
atmega6450 atmega6490 at90can32 at90can64 at90can128 at94k
Basic “getting started” needs
- a few AVRs
- a compiler/linker
- a mechanism to upload/download to/from the microcontroller
- breadboard
- a power supply
- various components ( LEDs, resisters for said, ect )