X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=app%2Ftriface%2Ftriface.mk;h=f208dfa33bfb0dd429bd4110d477f92f0c97f7be;hb=b7ad98378650e9ac53b1bf629c927ad7597a792f;hp=8c8d566a45fcc14054b5c2398ee8cd063afc5e44;hpb=4cc44c9888a0336b9d01121ec0b7ad95f4a76195;p=bertos.git diff --git a/app/triface/triface.mk b/app/triface/triface.mk index 8c8d566a..f208dfa3 100644 --- a/app/triface/triface.mk +++ b/app/triface/triface.mk @@ -9,9 +9,6 @@ # # -# This is an embedded project -triface_EMBEDDED_TGT = 1 - # Set to 1 for debug builds triface_DEBUG = 1 @@ -33,7 +30,7 @@ triface_CSRC = \ bertos/cpu/avr/drv/sipo.c \ bertos/mware/formatwr.c \ bertos/mware/hex.c \ - bertos/mware/hashtable.c \ + bertos/struct/hashtable.c \ bertos/mware/readline.c \ bertos/mware/parser.c \ bertos/mware/event.c \ @@ -50,14 +47,6 @@ triface_LDFLAGS = -Wl triface_MCU = atmega64 triface_CROSS = avr- -# Debug stuff -ifeq ($(triface_DEBUG),1) - triface_CFLAGS += -D_DEBUG - triface_PCSRC += bertos/drv/kdebug.c -endif - - -boot_EMBEDDED_TGT = 1 # Set to 1 for debug builds boot_DEBUG = 0 @@ -74,17 +63,10 @@ boot_CSRC = \ bertos/drv/timer.c \ bertos/algo/crc.c \ bertos/mware/hex.c \ - bertos/kern/kfile.c \ - # + bertos/kern/kfile.c \ + # boot_CROSS = avr- boot_CPPFLAGS = -D'ARCH=(ARCH_TRIFACE|ARCH_BOOT)' -Iapp/triface/boot -Ibertos/cpu/avr boot_CFLAGS = -Os -mcall-prologues boot_LDSCRIPT = app/triface/boot/boot.ld boot_LDFLAGS = -Wl,--relax - -# Debug stuff -ifeq ($(boot_DEBUG),1) - boot_CFLAGS += -D_DEBUG - boot_PCSRC += bertos/drv/kdebug.c bertos/mware/formatwr.c -endif -