From: Jan "Yenya" Kasprzak Date: Thu, 25 Apr 2013 13:41:41 +0000 (+0200) Subject: Makefile adjusted for Tiny45 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=tinyboard.git;a=commitdiff_plain;h=02b8c741af761dc158cdd411f74c4356eee64665 Makefile adjusted for Tiny45 --- diff --git a/projects/step-up/Makefile b/projects/step-up/Makefile index 1b0113e..67353fa 100644 --- a/projects/step-up/Makefile +++ b/projects/step-up/Makefile @@ -1,13 +1,11 @@ PROGRAM=lights -SRC=main.c logging.c adc.c pwm.c tmr.c pwmled.c gpio.c ambient.c pattern.c \ - buttons.c battery.c control.c +SRC=main.c logging.c pwm.c adc.c OBJ=$(SRC:.c=.o) -MCU=attiny861a -# AVRDUDE_MCU=$(MCU) -AVRDUDE_MCU=attiny861 +MCU=attiny45 +AVRDUDE_MCU=$(MCU) AVRDUDE_PROGRAMMER=usbasp CFLAGS=-Wall -Os -mmcu=$(MCU) -DUSE_LOGGING=1 -DF_CPU=1000000UL -std=gnu99