X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Finfo%2Fat91sam7x128.cdef;h=cbe263fa45bef19f8f383f21dc453c9e8188d5af;hb=79966528448c627024c20d2694d2a328b6688bd0;hp=645e5b6eee85cf0fa6651018214509070eb4a6bb;hpb=d7d0c25c480ce0a94103e3d79070b17eb1b14bb3;p=bertos.git diff --git a/bertos/cpu/arm/info/at91sam7x128.cdef b/bertos/cpu/arm/info/at91sam7x128.cdef index 645e5b6e..cbe263fa 100644 --- a/bertos/cpu/arm/info/at91sam7x128.cdef +++ b/bertos/cpu/arm/info/at91sam7x128.cdef @@ -31,36 +31,19 @@ # Copyright 2008 Develer S.r.l. (http://www.develer.com/) # # --> -# +# # Cpu info of the AT91SAM7X128. -# +# # This file contain all info for the BeRTOS wizard. # # \author Daniele Basile # # -# 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_128_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_AT91SAM7X128__" ] +LD_FLAGS += [ "-T " + SCRIPT_DIR + " at91sam7_128_rom.ld" ]