make led1642 interface more generic

This commit is contained in:
2014-03-18 01:04:18 +01:00
parent 3f424f88a9
commit f2a4bb877c
5 changed files with 228 additions and 124 deletions

View File

@ -1,5 +1,5 @@
PRG = rgbyteclock
OBJ = rgbyteclock.o timer.o lcd.o main.o rtc.o spi.o ringbuffer.o crc.o ledcontroller.o
OBJ = rgbyteclock.o timer.o lcd.o main.o rtc.o spi.o ringbuffer.o crc.o ledcontroller.o led1642gw.o
MCU_TARGET = atmega164a
OPTIMIZE = -Os
@ -27,6 +27,8 @@ $(PRG).elf: $(OBJ)
# dependency:
rgbyteclock.o: timer.o lcd.o rgbyteclock.h rtc.o spi.o ledcontroller.o
main.o: rgbyteclock.o lcd.o spi.o ledcontroller.o rtc.o timer.o
ledcontroller.o: led1642gw.o
led1642gw.o: led1642gw.h
timer.o: timer.h
lcd.o: lcd.h timer.o
rtc.o: rtc.h