]> www.fi.muni.cz Git - tinyboard.git/blobdiff - projects/step-up/Makefile
Deeper sleep when idle
[tinyboard.git] / projects / step-up / Makefile
index 1b0113eab0835166c7648ed1dced01769b1b9228..07bb15180295615c1e861df1f1c0a25d2d2113a6 100644 (file)
@@ -1,13 +1,12 @@
 
 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 pwmled.c pattern.c buttons.c control.c \
+       battery.c wdt.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