Remove unneeded variable.
[bertos.git] / bertos / cpu / arm / info / at91sam7x256.cdef
index 1d1d2bc91b33db70dd58cb8793da7ecf37ea39fb..93c6f0a492d197e3ca68739182e6300bc109c772 100644 (file)
 # Copyright 2008 Develer S.r.l. (http://www.develer.com/)
 #
 # -->
-# 
+#
 # Cpu info of the AT91SAM7X256.
-# 
+#
 # This file contain all info for the BeRTOS wizard.
 #
 # \author Daniele Basile <asterix@develer.com>
 #
 #
 
-# Type of the toolchain we should use to compile the source for this CPU.
-TOOLCHAIN = "arm"
-
-# If we use the GCC compiler we should pass some flags. 
-CORE_CPU = "arm7tdmi"
-
-C_FLAGS = []
-
-CPPA_FLAGS = []
-
-CPP_FLAGS = []
-
-LD_FLAGS = [ "-nostartfiles",
-            "-T " + BERTOS_SCRIPT_DIR + " at91sam7_256_rom.ld" 
-            "-Wl,--no-warn-mismatch" ]
-
-CPPA_SRC = [ BERTOS_HW_DIR + "crtat91sam7_rom.S",
-            BERTOS_HW_DIR + "switch_arm.S" ]
-
-PC_SRC = []
+# Import the common settings for the AT91SAM7 family.
+include("at91sam7.common")
 
-# For this cpu BeRTOS support these driver: 
-SUPPORTED_DRV = []
+# GCC flags for this cpu.
+CPP_FLAGS += [ "-D__ARM_AT91SAM7X256__" ]
+LD_FLAGS += [ "-T " + SCRIPT_DIR + " at91sam7_256_rom.ld" ]