X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=app%2Ftriface%2Ftriface.mk;h=be38898e3844a8184952bfcca363cded8db1601a;hb=f542f689032dbfb0765af41351427e99c6bd8f1f;hp=990a68ee21f2ae6cb50c024ad692799a1e65c168;hpb=f4f37527845e2b316b8199554a757ed0068e6839;p=bertos.git diff --git a/app/triface/triface.mk b/app/triface/triface.mk old mode 100755 new mode 100644 index 990a68ee..be38898e --- a/app/triface/triface.mk +++ b/app/triface/triface.mk @@ -3,39 +3,40 @@ # Copyright 2006 Develer S.r.l. (http://www.develer.com/) # All rights reserved. # -# Makefile fragment for DevLib demo application. +# Makefile fragment for DevLib triface application. # # Author: Bernardo Innocenti # -# $Log$ -# Revision 1.1 2006/05/18 00:41:47 bernie -# New triface devlib application. -# -# - # Set to 1 for debug builds -demo_DEBUG = 1 +triface_DEBUG = 1 # Our target application TRG += triface triface_CSRC = \ app/triface/triface.c \ + app/triface/protocol.c \ drv/timer.c \ drv/ser.c \ - drv/ser_avr.c \ + cpu/avr/drv/ser_avr.c \ mware/formatwr.c \ mware/hex.c \ + mware/hashtable.c \ + mware/readline.c \ + mware/parser.c \ # drv/buzzer.c -triface_CFLAGS = -Os -D'ARCH=0' -Iapp/triface/hw -Iapp/triface +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 # Debug stuff ifeq ($(triface_DEBUG),1) triface_CFLAGS += -D_DEBUG -# triface_PCSRC += drv/kdebug.c + triface_PCSRC += drv/kdebug.c endif