From 70c2d05039efd57b79181b2a135777625423d836 Mon Sep 17 00:00:00 2001 From: lottaviano Date: Sat, 9 Apr 2011 13:44:46 +0000 Subject: [PATCH] Fix project generation for ATmega CPU. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4850 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/avr/info/ATmega103.cdef | 2 +- bertos/cpu/avr/info/ATmega128.cdef | 2 +- bertos/cpu/avr/info/ATmega1280.cdef | 2 +- bertos/cpu/avr/info/ATmega1281.cdef | 2 +- bertos/cpu/avr/info/ATmega168.cdef | 2 +- bertos/cpu/avr/info/ATmega2560.cdef | 2 +- bertos/cpu/avr/info/ATmega32.cdef | 2 +- bertos/cpu/avr/info/ATmega328P.cdef | 2 +- bertos/cpu/avr/info/ATmega64.cdef | 2 +- bertos/cpu/avr/info/ATmega8.cdef | 2 +- bertos/cpu/avr/info/mega.common | 48 +++++++++++++++++++++++++++++ 11 files changed, 58 insertions(+), 10 deletions(-) create mode 100644 bertos/cpu/avr/info/mega.common diff --git a/bertos/cpu/avr/info/ATmega103.cdef b/bertos/cpu/avr/info/ATmega103.cdef index 2d1cd912..b519ba8d 100644 --- a/bertos/cpu/avr/info/ATmega103.cdef +++ b/bertos/cpu/avr/info/ATmega103.cdef @@ -41,7 +41,7 @@ # # Import the common settings for the path. -include("avr.common") +include("mega.common") # Short description of the cpu. CPU_DESC += [ "128 Kbyte in-System Programmable Flash", diff --git a/bertos/cpu/avr/info/ATmega128.cdef b/bertos/cpu/avr/info/ATmega128.cdef index 88eb826c..dc824d4a 100644 --- a/bertos/cpu/avr/info/ATmega128.cdef +++ b/bertos/cpu/avr/info/ATmega128.cdef @@ -41,7 +41,7 @@ # # Import the common settings for the path. -include("avr.common") +include("mega.common") # Short description of the cpu. CPU_DESC += [ "128 Kbyte in-System Programmable Flash", diff --git a/bertos/cpu/avr/info/ATmega1280.cdef b/bertos/cpu/avr/info/ATmega1280.cdef index 67c30765..0c422154 100644 --- a/bertos/cpu/avr/info/ATmega1280.cdef +++ b/bertos/cpu/avr/info/ATmega1280.cdef @@ -42,7 +42,7 @@ # Import the common settings for the path. -include("avr.common") +include("mega.common") # Short description of the cpu. CPU_DESC += [ "128 Kbyte in-System Programmable Flash", diff --git a/bertos/cpu/avr/info/ATmega1281.cdef b/bertos/cpu/avr/info/ATmega1281.cdef index 7b048660..03166cb1 100644 --- a/bertos/cpu/avr/info/ATmega1281.cdef +++ b/bertos/cpu/avr/info/ATmega1281.cdef @@ -42,7 +42,7 @@ # Import the common settings for the path. -include("avr.common") +include("mega.common") # Short description of the cpu. CPU_DESC += [ "128 Kbyte in-System Programmable Flash", diff --git a/bertos/cpu/avr/info/ATmega168.cdef b/bertos/cpu/avr/info/ATmega168.cdef index a373e754..c657b366 100644 --- a/bertos/cpu/avr/info/ATmega168.cdef +++ b/bertos/cpu/avr/info/ATmega168.cdef @@ -41,7 +41,7 @@ # # Import the common settings for the path. -include("avr.common") +include("mega.common") # Short description of the cpu. CPU_DESC += [ "16 Kbyte in-System Programmable Flash", diff --git a/bertos/cpu/avr/info/ATmega2560.cdef b/bertos/cpu/avr/info/ATmega2560.cdef index e9518c89..1530f484 100644 --- a/bertos/cpu/avr/info/ATmega2560.cdef +++ b/bertos/cpu/avr/info/ATmega2560.cdef @@ -42,7 +42,7 @@ # Import the common settings for the path. -include("avr.common") +include("mega.common") # Short description of the cpu. CPU_DESC += [ "256 Kbyte in-System Programmable Flash", diff --git a/bertos/cpu/avr/info/ATmega32.cdef b/bertos/cpu/avr/info/ATmega32.cdef index 9a73ebaf..47848cc3 100644 --- a/bertos/cpu/avr/info/ATmega32.cdef +++ b/bertos/cpu/avr/info/ATmega32.cdef @@ -41,7 +41,7 @@ # # Import the common settings for the path. -include("avr.common") +include("mega.common") # Short description of the cpu. CPU_DESC += [ "32 Kbyte in-System Programmable Flash", diff --git a/bertos/cpu/avr/info/ATmega328P.cdef b/bertos/cpu/avr/info/ATmega328P.cdef index a6d61055..bc03ba53 100644 --- a/bertos/cpu/avr/info/ATmega328P.cdef +++ b/bertos/cpu/avr/info/ATmega328P.cdef @@ -41,7 +41,7 @@ # # Import the common settings for the path. -include("avr.common") +include("mega.common") # Short description of the cpu. CPU_DESC += [ "Arduino Duemilanove", diff --git a/bertos/cpu/avr/info/ATmega64.cdef b/bertos/cpu/avr/info/ATmega64.cdef index 77b04434..c451fe90 100644 --- a/bertos/cpu/avr/info/ATmega64.cdef +++ b/bertos/cpu/avr/info/ATmega64.cdef @@ -41,7 +41,7 @@ # # Import the common settings for the path. -include("avr.common") +include("mega.common") # Short description of the cpu. CPU_DESC += [ "64 Kbyte in-System Programmable Flash", diff --git a/bertos/cpu/avr/info/ATmega8.cdef b/bertos/cpu/avr/info/ATmega8.cdef index 2cfbaa5e..e474767f 100644 --- a/bertos/cpu/avr/info/ATmega8.cdef +++ b/bertos/cpu/avr/info/ATmega8.cdef @@ -41,7 +41,7 @@ # # Import the common settings for the path. -include("avr.common") +include("mega.common") # Short description of the cpu. CPU_DESC += [ "8 Kbyte in-System Programmable Flash", diff --git a/bertos/cpu/avr/info/mega.common b/bertos/cpu/avr/info/mega.common new file mode 100644 index 00000000..e6f23cef --- /dev/null +++ b/bertos/cpu/avr/info/mega.common @@ -0,0 +1,48 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# General CPU info denfinition AVR family. +# +# This file contain all info for the BeRTOS wizard. +# +# \author Daniele Basile +# +# + +# Import the common settings for the path. +include("avr.common") + +# Special CPU related tags. +CPU_TAGS += ["mega"] + -- 2.25.1