From d08f4d1f3ee09f3339393d324e965298b55371ef Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 19 Dec 2008 14:04:28 +0000 Subject: [PATCH] Add short cpu descriptions. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2106 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/info/AT91SAM7S128.cdef | 4 ++++ bertos/cpu/arm/info/AT91SAM7S256.cdef | 4 ++++ bertos/cpu/arm/info/AT91SAM7X128.cdef | 4 ++++ bertos/cpu/arm/info/AT91SAM7X256.cdef | 4 ++++ bertos/cpu/arm/info/at91sam7.common | 6 +++++- 5 files changed, 21 insertions(+), 1 deletion(-) diff --git a/bertos/cpu/arm/info/AT91SAM7S128.cdef b/bertos/cpu/arm/info/AT91SAM7S128.cdef index 81faa486..a0b40bc1 100644 --- a/bertos/cpu/arm/info/AT91SAM7S128.cdef +++ b/bertos/cpu/arm/info/AT91SAM7S128.cdef @@ -43,6 +43,10 @@ # Import the common settings for the AT91SAM7 family. include("at91sam7.common") +# Short description of the cpu. +CPU_DESC += [ "128 Kbytes internal flash memory", + "32 Kbytes internal SRAM memory" ] + # GCC flags for this cpu. CPP_FLAGS += [ "-D__ARM_AT91SAM7S128__" ] LD_FLAGS += [ "-T " + SCRIPT_DIR + " at91sam7_128_rom.ld" ] diff --git a/bertos/cpu/arm/info/AT91SAM7S256.cdef b/bertos/cpu/arm/info/AT91SAM7S256.cdef index 1942bb00..379a1a31 100644 --- a/bertos/cpu/arm/info/AT91SAM7S256.cdef +++ b/bertos/cpu/arm/info/AT91SAM7S256.cdef @@ -43,6 +43,10 @@ # Import the common settings for the AT91SAM7 family. include("at91sam7.common") +# Short description of the cpu. +CPU_DESC += [ "256 Kbytes internal flash memory", + "64 Kbytes internal SRAM memory" ] + # GCC flags for this cpu. CPP_FLAGS += [ "-D__ARM_AT91SAM7S256__" ] LD_FLAGS += [ "-T " + SCRIPT_DIR + " at91sam7_256_rom.ld" ] diff --git a/bertos/cpu/arm/info/AT91SAM7X128.cdef b/bertos/cpu/arm/info/AT91SAM7X128.cdef index cbe263fa..8c871d6d 100644 --- a/bertos/cpu/arm/info/AT91SAM7X128.cdef +++ b/bertos/cpu/arm/info/AT91SAM7X128.cdef @@ -43,6 +43,10 @@ # Import the common settings for the AT91SAM7 family. include("at91sam7.common") +# Short description of the cpu. +CPU_DESC += [ "128 Kbytes internal flash memory", + "32 Kbytes internal SRAM memory" ] + # GCC flags for this cpu. CPP_FLAGS += [ "-D__ARM_AT91SAM7X128__" ] LD_FLAGS += [ "-T " + SCRIPT_DIR + " at91sam7_128_rom.ld" ] diff --git a/bertos/cpu/arm/info/AT91SAM7X256.cdef b/bertos/cpu/arm/info/AT91SAM7X256.cdef index 93c6f0a4..6cdd0273 100644 --- a/bertos/cpu/arm/info/AT91SAM7X256.cdef +++ b/bertos/cpu/arm/info/AT91SAM7X256.cdef @@ -43,6 +43,10 @@ # Import the common settings for the AT91SAM7 family. include("at91sam7.common") +# Short description of the cpu. +CPU_DESC += [ "256 Kbytes internal flash memory", + "64 Kbytes internal SRAM memory" ] + # GCC flags for this cpu. CPP_FLAGS += [ "-D__ARM_AT91SAM7X256__" ] LD_FLAGS += [ "-T " + SCRIPT_DIR + " at91sam7_256_rom.ld" ] diff --git a/bertos/cpu/arm/info/at91sam7.common b/bertos/cpu/arm/info/at91sam7.common index deea01c1..d10086b3 100644 --- a/bertos/cpu/arm/info/at91sam7.common +++ b/bertos/cpu/arm/info/at91sam7.common @@ -43,6 +43,10 @@ # Import the common settings for the path. include("../../path.common") +CPU_DESC = ["ATMEL AT91 ARM", + "ARMTDMI ARM Thumb Processor", + "32-bit RISC Architecture"] + # Type of the toolchain we should use to compile the source for this CPU. TOOLCHAIN = "arm" @@ -69,4 +73,4 @@ SUPPORTED_DRV = [ "adc", "stepper", "timer", "twi" ] - + -- 2.25.1