AVR – dockerized toolchain

Lightweight docker image built on top of alpine:3.10 with installed AVR toolchain and few additional tools: AVR8 toolchain (2019, AVR_8_bit_GNU_Toolchain_3.6.2_1759) avrdude (v6.3) make (v4.2) cmake (v3.14) DockerHub: https://hub.docker.com/r/lpodkalicki/avr-toolchain Installing Bellow you can find recommended simple one-line installer that pulls the newest docker-image and installs avr-toolchain script into “/usr/bin/” directory. curl https://raw.githubusercontent.com/lpodkalicki/avr-toolchain-docker/master/install.sh | bash -s — Getting started Install toolchain using … Read more

How to compile and burn the code to AVR chip on Linux/MacOSX/Windows ?

This is a quick tutorial for beginners that aims to show how to install tools, compile the code with avr-gcc and send it to the MCU with avrdude. It also introduce basics of automation of this task by putting the all instructions into Makefile. The example files (main.c, main.bin, main.hex, Makefile) has been packaged as … Read more

What is an AVR Microcontroller ?

The AVR is a modified Harvard architecture 8-bit RISC single-chip microcontroller. The AVR was developed by Atmel in 1996 and was one of the first microcontroller families to use on-chip flash memory for program storage. The AVR microcontoller is like a small computer – includes a CPU, some flash program memory, some SRAM and some … Read more