Starting from a blank chip

Hi all

Well…starting from a blank chip is for the moment leading me to a blank chip as I get some errors as soon as I type “make -f bootloader/makefile && make upload_all” as told on the firmware page…

Fuses setup went fine, but then, I get (only first line displayed):

/usr/bin/avr-g++ -c -mmcu=atmega644p -DF_CPU=20000000 -I. -g -Os -w -Wall -ffunction-sections -fdata-sections -funsigned-char -fno-inline-small-functions -mcall-prologues -fno-exceptions bootloader/ -o build/muboot/bootloader.o
In file included from ./avrlib/devices/shift_register.h:23,
from bootloader/
./avrlib/gpio.h:277:2: error: #error Unsupported MCU type

That’s the first error…and this unsupported MCU scares me…

any Idea ?

Cheers !


This is a recent makefile change that broke the build. Please pull from git, I have fixed this.

FIY: the old codebase made the implicit assumption that the code was running on a 644p. It can now support various MCUs but this needs to be set in the makefile.

It worked Great, thank you… !