Linux

From BitWizard Wiki
Jump to navigation Jump to search

Installing the required packages

Ubuntu

Installing the compiler, and the libraries:

sudo apt-get install gcc-avr avr-libc

Installing programming software (depending on your programmer): For AVRs with embedded USB (such as the AT90USB82/162, ATmega8/16/32U2, ATmega16/32U4:

sudo apt-get install dfu-programmer

When using an external ISP programmer, or our FTDI-atmega board, or arduino's:

sudo apt-get install avrdude avrdude-doc

We advice putting all your projects in a common directory, for example ~/avr/ .