2 # $Id: avrtest.mk,v 1.3 2006/06/12 21:37:02 marco Exp $
3 # Copyright 2006 Develer S.r.l. (http://www.develer.com/)
6 # Makefile fragment for DevLib avrtest application.
8 # Author: Bernie Innocenti <bernie@codewiz.org>
13 # Set to 1 for debug builds
16 # Our target application
19 avrtest_MCU = atmega64
21 #include avr c and asm sources
22 include examples/test/avr_src.mk
24 avrtest_CSRC = $(avr_CSRC) examples/test/empty_main.c
26 avrtest_CPPASRC = $(avr_ASRC)
28 avrtest_PCSRC += bertos/mware/formatwr.c
31 avrtest_CPPFLAGS = -D'ARCH=ARCH_NIGHTTEST' -D'CPU_FREQ=(12288000UL)' -D'WIZ_AUTOGEN' -Iexamples/test -Ibertos/cpu/avr
32 avrtest_CFLAGS = -Os -mcall-prologues -fno-strict-aliasing