From: asterix Date: Fri, 19 Dec 2008 15:13:37 +0000 (+0000) Subject: Add cpu descriptions. X-Git-Tag: 2.1.0~570 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=7d79dfd13c8c9f191a7316544b4d95872329e5d0;p=bertos.git Add cpu descriptions. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2112 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/avr/info/ATmega103.cdef b/bertos/cpu/avr/info/ATmega103.cdef index 1ae2b6ac..21598a38 100644 --- a/bertos/cpu/avr/info/ATmega103.cdef +++ b/bertos/cpu/avr/info/ATmega103.cdef @@ -43,6 +43,11 @@ # Import the common settings for the path. include("avr.common") +# Short description of the cpu. +CPU_DESC += [ "128 Kbyte in-System Programmable Flash", + "4 Kbytes internal SRAM memory", + "4 Kbytes EEPROM memory" ] + # If we use the GCC compiler we should pass some flags. CORE_CPU = "atmega103" diff --git a/bertos/cpu/avr/info/ATmega128.cdef b/bertos/cpu/avr/info/ATmega128.cdef index b8a94053..86650040 100644 --- a/bertos/cpu/avr/info/ATmega128.cdef +++ b/bertos/cpu/avr/info/ATmega128.cdef @@ -43,6 +43,11 @@ # Import the common settings for the path. include("avr.common") +# Short description of the cpu. +CPU_DESC += [ "128 Kbyte in-System Programmable Flash", + "4 Kbytes internal SRAM memory", + "4 bytes EEPROM memory" ] + # If we use the GCC compiler we should pass some flags. CORE_CPU = "atmega128" diff --git a/bertos/cpu/avr/info/ATmega1281.cdef b/bertos/cpu/avr/info/ATmega1281.cdef index 7359badf..e03338fd 100644 --- a/bertos/cpu/avr/info/ATmega1281.cdef +++ b/bertos/cpu/avr/info/ATmega1281.cdef @@ -44,6 +44,11 @@ # Import the common settings for the path. include("avr.common") +# Short description of the cpu. +CPU_DESC += [ "128 Kbyte in-System Programmable Flash", + "8 Kbytes internal SRAM memory", + "4 Kbytes EEPROM memory" ] + # If we use the GCC compiler we should pass some flags. CORE_CPU = "atmega1281" diff --git a/bertos/cpu/avr/info/ATmega168.cdef b/bertos/cpu/avr/info/ATmega168.cdef index 57e89e6b..27771d18 100644 --- a/bertos/cpu/avr/info/ATmega168.cdef +++ b/bertos/cpu/avr/info/ATmega168.cdef @@ -43,6 +43,11 @@ # Import the common settings for the path. include("avr.common") +# Short description of the cpu. +CPU_DESC += [ "16 Kbyte in-System Programmable Flash", + "1 Kbytes internal SRAM memory", + "512 bytes EEPROM memory" ] + # If we use the GCC compiler we should pass some flags. CORE_CPU = "atmega168" diff --git a/bertos/cpu/avr/info/ATmega32.cdef b/bertos/cpu/avr/info/ATmega32.cdef index 355e02e6..e3c50e95 100644 --- a/bertos/cpu/avr/info/ATmega32.cdef +++ b/bertos/cpu/avr/info/ATmega32.cdef @@ -43,6 +43,11 @@ # Import the common settings for the path. include("avr.common") +# Short description of the cpu. +CPU_DESC += [ "32 Kbyte in-System Programmable Flash", + "2 Kbytes internal SRAM memory", + "1 Kbytes EEPROM memory" ] + # If we use the GCC compiler we should pass some flags. CORE_CPU = "atmega32" diff --git a/bertos/cpu/avr/info/ATmega64.cdef b/bertos/cpu/avr/info/ATmega64.cdef index bfa359d0..3bb4193f 100644 --- a/bertos/cpu/avr/info/ATmega64.cdef +++ b/bertos/cpu/avr/info/ATmega64.cdef @@ -43,6 +43,11 @@ # Import the common settings for the path. include("avr.common") +# Short description of the cpu. +CPU_DESC += [ "64 Kbyte in-System Programmable Flash", + "4 Kbytes internal SRAM memory", + "2 Kbytes EEPROM memory" ] + # If we use the GCC compiler we should pass some flags. CORE_CPU = "atmega64" diff --git a/bertos/cpu/avr/info/ATmega8.cdef b/bertos/cpu/avr/info/ATmega8.cdef index 0a2ec462..87d43426 100644 --- a/bertos/cpu/avr/info/ATmega8.cdef +++ b/bertos/cpu/avr/info/ATmega8.cdef @@ -43,6 +43,11 @@ # Import the common settings for the path. include("avr.common") +# Short description of the cpu. +CPU_DESC += [ "8 Kbyte in-System Programmable Flash", + "1 Kbytes internal SRAM memory", + "512 bytes EEPROM memory" ] + # If we use the GCC compiler we should pass some flags. CORE_CPU = "atmega8" diff --git a/bertos/cpu/avr/info/avr.common b/bertos/cpu/avr/info/avr.common index e4837a79..690850fe 100644 --- a/bertos/cpu/avr/info/avr.common +++ b/bertos/cpu/avr/info/avr.common @@ -43,6 +43,10 @@ # Import the common settings for the path. include("../../path.common") +# Short description of the cpu. +CPU_DESC = [ "ATMEL AVR Microcontroller ", + "8-bit RISC Architecture"] + # Type of the toolchain we should use to compile the source for this CPU. TOOLCHAIN = "avr"