Disable unmantained heap handling (for now).
[bertos.git] / examples / triface / triface.mk
index 5ebcef4ec451884d6fd37fc8526fdda57461975c..e9861a064c324e0fcfcd16af88d59ef0eb65b671 100644 (file)
@@ -56,7 +56,7 @@ triface_CSRC = \
 triface_PCSRC += bertos/mware/formatwr.c
 
 
-triface_CFLAGS = -O2 -D'ARCH=(ARCH_TRIFACE)' -D'CPU_FREQ=(14745600UL)' -fno-strict-aliasing -Iexamples/triface -Ibertos/cpu/avr
+triface_CFLAGS = -O2 -D'ARCH=(ARCH_TRIFACE)' -D'CPU_FREQ=(14745600UL)'  -D'WIZ_AUTOGEN' -fno-strict-aliasing -Iexamples/triface -Ibertos/cpu/avr
 triface_LDFLAGS = -Wl
 
 
@@ -71,16 +71,18 @@ boot_CSRC = \
        examples/triface/boot/main.c \
        bertos/cpu/avr/drv/ser_avr.c \
        bertos/cpu/avr/drv/flash_avr.c \
-       bertos/cpu/avr/drv/timer_avr.c \
        bertos/drv/timer.c \
+       bertos/cpu/avr/drv/timer_avr.c \
        bertos/drv/ser.c \
        bertos/net/xmodem.c \
        bertos/algo/crc.c \
        bertos/mware/hex.c \
        bertos/kern/kfile.c \
        #
+
 boot_PREFIX = avr-
-boot_CPPFLAGS = -D'ARCH=(ARCH_TRIFACE|ARCH_BOOT)' -D'CPU_FREQ=(14745600UL)' -Iexamples/triface/boot -Ibertos/cpu/avr
+
+boot_CPPFLAGS = -D'ARCH=(ARCH_TRIFACE|ARCH_BOOT)' -D'CPU_FREQ=(14745600UL)' -D'WIZ_AUTOGEN' -Iexamples/triface/boot -Ibertos/cpu/avr
 boot_CFLAGS = -Os -mcall-prologues
 boot_LDFLAGS = -Wl,--relax -Wl,--section-start=.text=$(BOOT_ADDR_START)