From 5d616a1ec23fde3660d77949ec1edc5bfce2f977 Mon Sep 17 00:00:00 2001 From: asterix Date: Thu, 11 Dec 2008 18:16:23 +0000 Subject: [PATCH] Add configuration info for bertos wizard. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2010 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/avr/info/atmega103.cdef | 70 +++++++++++++++++++++++++++++ bertos/cpu/avr/info/atmega128.cdef | 70 +++++++++++++++++++++++++++++ bertos/cpu/avr/info/atmega1281.cdef | 70 +++++++++++++++++++++++++++++ bertos/cpu/avr/info/atmega168.cdef | 70 +++++++++++++++++++++++++++++ bertos/cpu/avr/info/atmega32.cdef | 70 +++++++++++++++++++++++++++++ bertos/cpu/avr/info/atmega64.cdef | 70 +++++++++++++++++++++++++++++ bertos/cpu/avr/info/atmega8.cdef | 70 +++++++++++++++++++++++++++++ 7 files changed, 490 insertions(+) create mode 100644 bertos/cpu/avr/info/atmega103.cdef create mode 100644 bertos/cpu/avr/info/atmega128.cdef create mode 100644 bertos/cpu/avr/info/atmega1281.cdef create mode 100644 bertos/cpu/avr/info/atmega168.cdef create mode 100644 bertos/cpu/avr/info/atmega32.cdef create mode 100644 bertos/cpu/avr/info/atmega64.cdef create mode 100644 bertos/cpu/avr/info/atmega8.cdef diff --git a/bertos/cpu/avr/info/atmega103.cdef b/bertos/cpu/avr/info/atmega103.cdef new file mode 100644 index 00000000..135690fb --- /dev/null +++ b/bertos/cpu/avr/info/atmega103.cdef @@ -0,0 +1,70 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the ATMega103. +# +# 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 + "avr/script/" +BERTOS_HW_DIR = BERTOS_CPU_DIR + "avr/hw/" + +# Type of the toolchain we should use to compile the source for this CPU. +TOOLCHAIN = "avr" + +# If we use the GCC compiler we should pass some flags. +CORE_CPU = "atmega103" + +C_FLAGS = [ "-fno-strict-aliasing" ] + +CPPA_FLAGS = [] + +CPP_FLAGS = [] + +LD_FLAGS = [] + +CPPA_SRC = [] + +# If you want to use, one o more, of these modules in your project you should compile in +# different way. +PC_SRC = [ kdebug, formartwr, sprintf, text_format, text ] + +# For this cpu BeRTOS support these driver: +SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] + diff --git a/bertos/cpu/avr/info/atmega128.cdef b/bertos/cpu/avr/info/atmega128.cdef new file mode 100644 index 00000000..5a5f77b6 --- /dev/null +++ b/bertos/cpu/avr/info/atmega128.cdef @@ -0,0 +1,70 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the ATMega128. +# +# 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 + "avr/script/" +BERTOS_HW_DIR = BERTOS_CPU_DIR + "avr/hw/" + +# Type of the toolchain we should use to compile the source for this CPU. +TOOLCHAIN = "avr" + +# If we use the GCC compiler we should pass some flags. +CORE_CPU = "atmega128" + +C_FLAGS = [ "-fno-strict-aliasing" ] + +CPPA_FLAGS = [] + +CPP_FLAGS = [] + +LD_FLAGS = [] + +CPPA_SRC = [] + +# If you want to use, one o more, of these modules in your project you should compile in +# different way. +PC_SRC = [ kdebug, formartwr, sprintf, text_format, text ] + +# For this cpu BeRTOS support these driver: +SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] + diff --git a/bertos/cpu/avr/info/atmega1281.cdef b/bertos/cpu/avr/info/atmega1281.cdef new file mode 100644 index 00000000..fe97cabe --- /dev/null +++ b/bertos/cpu/avr/info/atmega1281.cdef @@ -0,0 +1,70 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the ATMega1281. +# +# 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 + "avr/script/" +BERTOS_HW_DIR = BERTOS_CPU_DIR + "avr/hw/" + +# Type of the toolchain we should use to compile the source for this CPU. +TOOLCHAIN = "avr" + +# If we use the GCC compiler we should pass some flags. +CORE_CPU = "atmega1281" + +C_FLAGS = [ "-fno-strict-aliasing" ] + +CPPA_FLAGS = [] + +CPP_FLAGS = [] + +LD_FLAGS = [] + +CPPA_SRC = [] + +# If you want to use, one o more, of these modules in your project you should compile in +# different way. +PC_SRC = [ kdebug, formartwr, sprintf, text_format, text ] + +# For this cpu BeRTOS support these driver: +SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] + diff --git a/bertos/cpu/avr/info/atmega168.cdef b/bertos/cpu/avr/info/atmega168.cdef new file mode 100644 index 00000000..268a1e78 --- /dev/null +++ b/bertos/cpu/avr/info/atmega168.cdef @@ -0,0 +1,70 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the ATMega168. +# +# 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 + "avr/script/" +BERTOS_HW_DIR = BERTOS_CPU_DIR + "avr/hw/" + +# Type of the toolchain we should use to compile the source for this CPU. +TOOLCHAIN = "avr" + +# If we use the GCC compiler we should pass some flags. +CORE_CPU = "atmega168" + +C_FLAGS = [ "-fno-strict-aliasing" ] + +CPPA_FLAGS = [] + +CPP_FLAGS = [] + +LD_FLAGS = [] + +CPPA_SRC = [] + +# If you want to use, one o more, of these modules in your project you should compile in +# different way. +PC_SRC = [ kdebug, formartwr, sprintf, text_format, text ] + +# For this cpu BeRTOS support these driver: +SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] + diff --git a/bertos/cpu/avr/info/atmega32.cdef b/bertos/cpu/avr/info/atmega32.cdef new file mode 100644 index 00000000..126069cf --- /dev/null +++ b/bertos/cpu/avr/info/atmega32.cdef @@ -0,0 +1,70 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the ATMega32. +# +# 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 + "avr/script/" +BERTOS_HW_DIR = BERTOS_CPU_DIR + "avr/hw/" + +# Type of the toolchain we should use to compile the source for this CPU. +TOOLCHAIN = "avr" + +# If we use the GCC compiler we should pass some flags. +CORE_CPU = "atmega32" + +C_FLAGS = [ "-fno-strict-aliasing" ] + +CPPA_FLAGS = [] + +CPP_FLAGS = [] + +LD_FLAGS = [] + +CPPA_SRC = [] + +# If you want to use, one o more, of these modules in your project you should compile in +# different way. +PC_SRC = [ kdebug, formartwr, sprintf, text_format, text ] + +# For this cpu BeRTOS support these driver: +SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] + diff --git a/bertos/cpu/avr/info/atmega64.cdef b/bertos/cpu/avr/info/atmega64.cdef new file mode 100644 index 00000000..8ed6d98a --- /dev/null +++ b/bertos/cpu/avr/info/atmega64.cdef @@ -0,0 +1,70 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the ATMega64. +# +# 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 + "avr/script/" +BERTOS_HW_DIR = BERTOS_CPU_DIR + "avr/hw/" + +# Type of the toolchain we should use to compile the source for this CPU. +TOOLCHAIN = "avr" + +# If we use the GCC compiler we should pass some flags. +CORE_CPU = "atmega64" + +C_FLAGS = [ "-fno-strict-aliasing" ] + +CPPA_FLAGS = [] + +CPP_FLAGS = [] + +LD_FLAGS = [] + +CPPA_SRC = [] + +# If you want to use, one o more, of these modules in your project you should compile in +# different way. +PC_SRC = [ kdebug, formartwr, sprintf, text_format, text ] + +# For this cpu BeRTOS support these driver: +SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] + diff --git a/bertos/cpu/avr/info/atmega8.cdef b/bertos/cpu/avr/info/atmega8.cdef new file mode 100644 index 00000000..26891b8a --- /dev/null +++ b/bertos/cpu/avr/info/atmega8.cdef @@ -0,0 +1,70 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# Cpu info of the ATMega8. +# +# 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 + "avr/script/" +BERTOS_HW_DIR = BERTOS_CPU_DIR + "avr/hw/" + +# Type of the toolchain we should use to compile the source for this CPU. +TOOLCHAIN = "avr" + +# If we use the GCC compiler we should pass some flags. +CORE_CPU = "atmega8" + +C_FLAGS = [ "-fno-strict-aliasing" ] + +CPPA_FLAGS = [] + +CPP_FLAGS = [] + +LD_FLAGS = [] + +CPPA_SRC = [] + +# If you want to use, one o more, of these modules in your project you should compile in +# different way. +PC_SRC = [ kdebug, formartwr, sprintf, text_format, text ] + +# For this cpu BeRTOS support these driver: +SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] + -- 2.25.1