Fix nightly test (really).
[bertos.git] / examples / test / armtest.mk
index 9d2bc1aa8cdfce589bd55848d0b89fd6bb703585..508b6fc754f15eefcb14b0451d7af2e148948827 100644 (file)
@@ -1,32 +1,81 @@
 #
-# $Id: armtest.mk 18234 2007-10-08 13:39:48Z rasky $
-# Copyright 2006 Develer S.r.l. (http://www.develer.com/)
-# All rights reserved.
-#
-# Makefile fragment for DevLib armtest application.
-#
-# Author: Bernie Innocenti <bernie@codewiz.org>
-#
+# Wizard autogenerated makefile.
+# DO NOT EDIT, use the armtest_user.mk file instead.
 #
 
-# Set to 1 for debug builds
+# Constants automatically defined by the selected modules
 armtest_DEBUG = 1
 
 # Our target application
 TRG += armtest
 
-#include arm c and asm sources
-include ./examples/test/arm_src.mk
+armtest_PREFIX = "arm-none-eabi-"
+
+armtest_SUFFIX = ""
+
+armtest_SRC_PATH = examples/test
+
+armtest_HW_PATH = bertos/hw
+
+# Files automatically generated by the wizard. DO NOT EDIT, USE armtest_USER_CSRC INSTEAD!
+armtest_WIZARD_CSRC = \
+       #
+
+# Files automatically generated by the wizard. DO NOT EDIT, USE armtest_USER_PCSRC INSTEAD!
+armtest_WIZARD_PCSRC = \
+        \
+       #
+
+# Files automatically generated by the wizard. DO NOT EDIT, USE armtest_USER_CPPASRC INSTEAD!
+armtest_WIZARD_CPPASRC = \
+        \
+       #
+
+# Files automatically generated by the wizard. DO NOT EDIT, USE armtest_USER_CXXSRC INSTEAD!
+armtest_WIZARD_CXXSRC = \
+        \
+       #
+
+# Files automatically generated by the wizard. DO NOT EDIT, USE armtest_USER_ASRC INSTEAD!
+armtest_WIZARD_ASRC = \
+        \
+       #
+
+armtest_CPPFLAGS = -D'CPU_FREQ=(48054857UL)' -D'ARCH=(ARCH_NIGHTTEST)' -D'WIZ_AUTOGEN' -I$(armtest_HW_PATH) -I$(armtest_SRC_PATH) $(armtest_CPU_CPPFLAGS) $(armtest_USER_CPPFLAGS)
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+armtest_LDFLAGS = $(armtest_CPU_LDFLAGS) $(armtest_WIZARD_LDFLAGS) $(armtest_USER_LDFLAGS)
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+armtest_CPPAFLAGS = $(armtest_CPU_CPPAFLAGS) $(armtest_WIZARD_CPPAFLAGS) $(armtest_USER_CPPAFLAGS)
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+armtest_CSRC = $(armtest_CPU_CSRC) $(armtest_WIZARD_CSRC) $(armtest_USER_CSRC)
 
-armtest_CSRC = $(arm_CSRC) examples/test/empty_main.c
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+armtest_PCSRC = $(armtest_CPU_PCSRC) $(armtest_WIZARD_PCSRC) $(armtest_USER_PCSRC)
 
-armtest_CPPASRC = $(arm_ASRC)
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+armtest_CPPASRC = $(armtest_CPU_CPPASRC) $(armtest_WIZARD_CPPASRC) $(armtest_USER_CPPASRC)
 
-armtest_PREFIX = arm-none-eabi-
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+armtest_CXXSRC = $(armtest_CPU_CXXSRC) $(armtest_WIZARD_CXXSRC) $(armtest_USER_CXXSRC)
 
-armtest_CPPAFLAGS = -O0 -g -gdwarf-2 -g -gen-debug
-armtest_CPPFLAGS = -O0 -D'ARCH=ARCH_NIGHTTEST' -D__ARM_AT91SAM7S256__ -g3 -gdwarf-2 -fverbose-asm -Iexamples/test -Ibertos/cpu/arm
-armtest_LDFLAGS = -nostartfiles -T bertos/cpu/arm/scripts/at91sam7_256_rom.ld -Wl,--no-warn-mismatch
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+armtest_ASRC = $(armtest_CPU_ASRC) $(armtest_WIZARD_ASRC) $(armtest_USER_ASRC)
 
+# CPU specific flags and options, defined in the CPU definition files.
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+armtest_CPU_CPPASRC = bertos/cpu/arm/hw/crt_arm7tdmi.S bertos/cpu/arm/hw/vectors_at91.S
+armtest_CPU_CPPAFLAGS = -g -gdwarf-2
+armtest_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -fverbose-asm -Ibertos/cpu/arm/ -D__ARM_AT91SAM7X256__
+armtest_CPU_CSRC =
+armtest_PROGRAMMER_CPU = at91sam7
+armtest_CPU_LDFLAGS = -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/arm/scripts/at91sam7_256_rom.ld
+armtest_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
 armtest_CPU = arm7tdmi
+armtest_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
+armtest_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
+armtest_FLASH_SCRIPT = bertos/prg_scripts/arm/flash.sh
 
+include $(armtest_SRC_PATH)/armtest_user.mk