X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Finfo%2Fat91sam7s256.cdef;fp=bertos%2Fcpu%2Farm%2Finfo%2Fat91sam7s256.cdef;h=1942bb0062da08aa106ec8c256daa6731bb7f8c7;hb=04d7c5d73670add7846b618256d6466e28878221;hp=0ea8ae698538ee69eab6d897f30cd689160bd7ef;hpb=b4b0eab096e537b234e5360e0d80f1e11d33709c;p=bertos.git diff --git a/bertos/cpu/arm/info/at91sam7s256.cdef b/bertos/cpu/arm/info/at91sam7s256.cdef index 0ea8ae69..1942bb00 100644 --- a/bertos/cpu/arm/info/at91sam7s256.cdef +++ b/bertos/cpu/arm/info/at91sam7s256.cdef @@ -31,36 +31,20 @@ # Copyright 2008 Develer S.r.l. (http://www.develer.com/) # # --> -# +# # Cpu info of the AT91SAM7S256. -# +# # 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_256_rom.ld" - "-Wl,--no-warn-mismatch" ] - -CPPA_SRC = [ BERTOS_HW_DIR + "crtat91sam7_rom.S", - BERTOS_HW_DIR + "switch_arm.S" ] +# Import the common settings for the AT91SAM7 family. +include("at91sam7.common") -PC_SRC = [] +# GCC flags for this cpu. +CPP_FLAGS += [ "-D__ARM_AT91SAM7S256__" ] +LD_FLAGS += [ "-T " + SCRIPT_DIR + " at91sam7_256_rom.ld" ] -# For this cpu BeRTOS support these driver: -SUPPORTED_DRV = []