Merge from triface project.
[bertos.git] / app / triface / triface.mk
index be38898e3844a8184952bfcca363cded8db1601a..b7c19cc41968a156bff22fe71fa5f5f104645e6d 100644 (file)
@@ -7,6 +7,8 @@
 #
 # Author: Bernardo Innocenti <bernie@develer.com>
 #
+#
+
 
 # Set to 1 for debug builds
 triface_DEBUG = 1
@@ -14,25 +16,34 @@ triface_DEBUG = 1
 # Our target application
 TRG += triface
 
+triface_hfuse = 0x88
+triface_lfuse = 0xff
+triface_efuse = 0xff
+triface_lock = 0x2f
 triface_CSRC = \
        app/triface/triface.c \
        app/triface/protocol.c \
        drv/timer.c \
        drv/ser.c \
        cpu/avr/drv/ser_avr.c \
+       cpu/avr/drv/sipo.c \
        mware/formatwr.c \
        mware/hex.c \
        mware/hashtable.c \
        mware/readline.c \
        mware/parser.c \
-
-#      drv/buzzer.c
+       mware/event.c \
+       net/keytag.c \
+       hw/hw_adc.c \
+       drv/buzzer.c \
 
 triface_PCSRC += mware/formatwr.c
 
-#triface_CFLAGS = -O3 -D'ARCH=0' -Iapp/triface/hw -Iapp/triface
-triface_CFLAGS = -O0 -D'ARCH=0' -Iapp/triface/hw -Iapp/triface -Icpu/avr
-triface_MCU = atmega128
+
+triface_CFLAGS = -O2 -D'ARCH=0' -Iapp/triface/hw -Iapp/triface -Icpu/avr
+triface_LDFLAGS = -Wl
+
+triface_MCU = atmega64
 
 # Debug stuff
 ifeq ($(triface_DEBUG),1)