From 71e00825e12393a1d854dcd6149d1999387db26e Mon Sep 17 00:00:00 2001 From: Raphael Randschau Date: Sat, 27 Oct 2018 12:51:27 -0700 Subject: [PATCH] update makefile for SMD PCB the SMD one uses the atmega168p --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e18e2d9..870c133 100644 --- a/Makefile +++ b/Makefile @@ -5,10 +5,10 @@ clean: prepare rm -fr build/* compile: clean - avr-gcc -Og -g -mmcu=atmega168 -o build/main src/*.c + avr-gcc -Og -g -mmcu=atmega168p -o build/main src/*.c build: compile avr-objcopy -j .text -j .data -O ihex build/main build/main.hex flash: - avrdude -P usb -b 19200 -c avrispmkII -p m168 -U lfuse:w:0xee:m -U hfuse:w:0xdf:m -U efuse:w:0xf9:m -U flash:w:build/main.hex + avrdude -P usb -b 19200 -c avrispmkII -p m168p -U lfuse:w:0xee:m -U hfuse:w:0xdf:m -U efuse:w:0xf9:m -U flash:w:build/main.hex