From 81aa9192a666837a2391978e11ce788bf82cd17d Mon Sep 17 00:00:00 2001 From: asterix Date: Thu, 11 Dec 2008 17:35:47 +0000 Subject: [PATCH] Add configuration info for bertos wizard. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2009 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/info/at91sam7s128.cdef | 68 +++++++++++++++++++++++++++ bertos/cpu/arm/info/at91sam7s256.cdef | 68 +++++++++++++++++++++++++++ bertos/cpu/arm/info/at91sam7x128.cdef | 68 +++++++++++++++++++++++++++ bertos/cpu/arm/info/at91sam7x256.cdef | 68 +++++++++++++++++++++++++++ 4 files changed, 272 insertions(+) create mode 100644 bertos/cpu/arm/info/at91sam7s128.cdef create mode 100644 bertos/cpu/arm/info/at91sam7s256.cdef create mode 100644 bertos/cpu/arm/info/at91sam7x128.cdef create mode 100644 bertos/cpu/arm/info/at91sam7x256.cdef diff --git a/bertos/cpu/arm/info/at91sam7s128.cdef b/bertos/cpu/arm/info/at91sam7s128.cdef new file mode 100644 index 00000000..3cb51f64 --- /dev/null +++ b/bertos/cpu/arm/info/at91sam7s128.cdef @@ -0,0 +1,68 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the AT91SAM7S128. +# +# This file contain all info for the BeRTOS wizard. +# +# \author Daniele Basile +# +# + +# Where are locate the bertos directories +BERTOS_CPU_DIR = "bertos/cpu/" +BERTOS_SCRIPT_DIR = BERTOS_CPU_DIR + "arm/script/" +BERTOS_HW_DIR = BERTOS_CPU_DIR + "arm/hw/" + +# 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" + +CPPA_FLAGS = [] + +CPP_FLAGS = [ "-D__ARM_AT91SAM7S128__" + "-fverbose-asm"] + +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" ] + +# For this cpu BeRTOS support these driver: +SUPPORTED_DRV = [adc, kdebug, pwm, ser, stepper, timer, twi] + diff --git a/bertos/cpu/arm/info/at91sam7s256.cdef b/bertos/cpu/arm/info/at91sam7s256.cdef new file mode 100644 index 00000000..9906a7b2 --- /dev/null +++ b/bertos/cpu/arm/info/at91sam7s256.cdef @@ -0,0 +1,68 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the AT91SAM7S256. +# +# This file contain all info for the BeRTOS wizard. +# +# \author Daniele Basile +# +# + +# Where are locate the bertos directories +BERTOS_CPU_DIR = "bertos/cpu/" +BERTOS_SCRIPT_DIR = BERTOS_CPU_DIR + "arm/script/" +BERTOS_HW_DIR = BERTOS_CPU_DIR + "arm/hw/" + +# 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" + +CPPA_FLAGS = [] + +CPP_FLAGS = [ "-D__ARM_AT91SAM7S256__" + "-fverbose-asm"] + +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" ] + +# For this cpu BeRTOS support these driver: +SUPPORTED_DRV = [adc, kdebug, pwm, ser, stepper, timer, twi] + diff --git a/bertos/cpu/arm/info/at91sam7x128.cdef b/bertos/cpu/arm/info/at91sam7x128.cdef new file mode 100644 index 00000000..8da02e28 --- /dev/null +++ b/bertos/cpu/arm/info/at91sam7x128.cdef @@ -0,0 +1,68 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the AT91SAM7X128. +# +# This file contain all info for the BeRTOS wizard. +# +# \author Daniele Basile +# +# + +# Where are locate the bertos directories +BERTOS_CPU_DIR = "bertos/cpu/" +BERTOS_SCRIPT_DIR = BERTOS_CPU_DIR + "arm/script/" +BERTOS_HW_DIR = BERTOS_CPU_DIR + "arm/hw/" + +# 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" + +CPPA_FLAGS = [] + +CPP_FLAGS = [ "-D__ARM_AT91SAM7X128__" + "-fverbose-asm"] + +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" ] + +# For this cpu BeRTOS support these driver: +SUPPORTED_DRV = [adc, kdebug, pwm, ser, stepper, timer, twi] + diff --git a/bertos/cpu/arm/info/at91sam7x256.cdef b/bertos/cpu/arm/info/at91sam7x256.cdef new file mode 100644 index 00000000..bdfea26a --- /dev/null +++ b/bertos/cpu/arm/info/at91sam7x256.cdef @@ -0,0 +1,68 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the AT91SAM7X256. +# +# This file contain all info for the BeRTOS wizard. +# +# \author Daniele Basile +# +# + +# Where are locate the bertos directories +BERTOS_CPU_DIR = "bertos/cpu/" +BERTOS_SCRIPT_DIR = BERTOS_CPU_DIR + "arm/script/" +BERTOS_HW_DIR = BERTOS_CPU_DIR + "arm/hw/" + +# 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" + +CPPA_FLAGS = [] + +CPP_FLAGS = [ "-D__ARM_AT91SAM7X256__" + "-fverbose-asm"] + +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" ] + +# For this cpu BeRTOS support these driver: +SUPPORTED_DRV = [adc, kdebug, pwm, ser, stepper, timer, twi] + -- 2.25.1