2 # $Id: armtest.mk 18234 2007-10-08 13:39:48Z rasky $
3 # Copyright 2006 Develer S.r.l. (http://www.develer.com/)
6 # Makefile fragment for DevLib armtest application.
8 # Author: Bernie Innocenti <bernie@codewiz.org>
12 # Set to 1 for debug builds
15 # Our target application
18 #include arm c and asm sources
19 include ./examples/test/arm_src.mk
21 armtest_CSRC = $(arm_CSRC) examples/test/empty_main.c
23 armtest_CPPASRC = $(arm_ASRC)
25 armtest_PREFIX = arm-none-eabi-
27 armtest_CPPAFLAGS = -O0 -g -gdwarf-2 -g -gen-debug
28 armtest_CPPFLAGS = -O0 -D'ARCH=ARCH_NIGHTTEST' -D__ARM_AT91SAM7S256__ -D'CPU_FREQ=(48023000UL)' -D'WIZ_AUTOGEN' -g3 -gdwarf-2 -fverbose-asm -Iexamples/test -Ibertos/cpu/arm
29 armtest_LDFLAGS = -nostartfiles -T bertos/cpu/arm/scripts/at91sam7_256_rom.ld -Wl,--no-warn-mismatch
31 armtest_CPU = arm7tdmi