From: Daniele Basile Date: Fri, 13 Jan 2012 14:49:20 +0000 (+0100) Subject: Merge contributed patch to extend support of atxmega. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=4635e332d9a489cb54a25b1bf37559c84181db74;p=bertos.git Merge contributed patch to extend support of atxmega. Signed-off-by: Onno --- diff --git a/bertos/cpu/avr/info/ATxmega128A1.cdef b/bertos/cpu/avr/info/ATxmega128A1.cdef new file mode 100644 index 00000000..706b4362 --- /dev/null +++ b/bertos/cpu/avr/info/ATxmega128A1.cdef @@ -0,0 +1,56 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the ATxmega128A1. +# +# This file contain all info for the BeRTOS wizard. +# +# \author Onno +# +# + + +# Import the common settings for the path. +include("xmega.common") + +# Short description of the cpu. +CPU_DESC += [ "128 Kbyte in-System Programmable Flash", + "8 Kbyte Boot Code Section with Independent Lock Bits", + "8 Kbyte internal SRAM memory", + "2 Kbyte EEPROM memory" ] + +# If we use the GCC compiler we should pass some flags. +CORE_CPU = "atxmega128a1" +# add a family tag for the wizard +CPU_TAGS += ["xmegaa1"] + +include("avr_post.common") diff --git a/bertos/cpu/avr/info/ATxmega32A4.cdef b/bertos/cpu/avr/info/ATxmega32A4.cdef new file mode 100644 index 00000000..d2445f11 --- /dev/null +++ b/bertos/cpu/avr/info/ATxmega32A4.cdef @@ -0,0 +1,56 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the ATxmega32A4. +# +# This file contain all info for the BeRTOS wizard. +# +# \author Onno +# +# + + +# Import the common settings for the path. +include("xmega.common") + +# Short description of the cpu. +CPU_DESC += [ "32 Kbyte in-System Programmable Flash", + "4 Kbyte Boot Code Section with Independent Lock Bits", + "4 Kbyte internal SRAM memory", + "1 Kbyte EEPROM memory" ] + +# If we use the GCC compiler we should pass some flags. +CORE_CPU = "atxmega32a4" +# add a family tag for the wizard +CPU_TAGS += ["xmegaa4"] + +include("avr_post.common") diff --git a/bertos/cpu/avr/info/ATxmega64A3.cdef b/bertos/cpu/avr/info/ATxmega64A3.cdef new file mode 100644 index 00000000..3a892b50 --- /dev/null +++ b/bertos/cpu/avr/info/ATxmega64A3.cdef @@ -0,0 +1,56 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the ATxmega64A3. +# +# This file contain all info for the BeRTOS wizard. +# +# \author Onno +# +# + + +# Import the common settings for the path. +include("xmega.common") + +# Short description of the cpu. +CPU_DESC += [ "64 Kbyte in-System Programmable Flash", + "4 Kbyte Boot Code Section with Independent Lock Bits", + "4 Kbyte internal SRAM memory", + "2 Kbyte EEPROM memory" ] + +# If we use the GCC compiler we should pass some flags. +CORE_CPU = "atxmega64a3" +# add a family tag for the wizard +CPU_TAGS += ["xmegaa3"] + +include("avr_post.common")