How to install AVR assembler AVRA on Linux (Ubuntu)

In this article I’d like to show how to install AVRA – an opensource version of assembler for ATMEL (currently MICROCHIP) chips on Linux (Ubuntu). Please note that AVRA is not a part of AVR-GCC and uses different directives.

1. Install AVRA

sudo apt-get install avra

2. Compile and flash example program (ATtiny13)

Clone repository from GitHub

cd $HOME
git clone https://github.com/lpodkalicki/blog.git

Compile example program

cd $HOME/blog/avr/attiny13/043_blinky_with_delay_function_asm
make

Burn the code

cd $HOME/blog/avr/attiny13/043_blinky_with_delay_function_asm
make flash

3. References

Leave a Comment