From d7d0c25c480ce0a94103e3d79070b17eb1b14bb3 Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 12 Dec 2008 11:00:53 +0000 Subject: [PATCH] Remove all common settings and put their in general.cdef. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2023 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/info/at91sam7s128.cdef | 12 ++++-------- bertos/cpu/arm/info/at91sam7s256.cdef | 10 ++-------- bertos/cpu/arm/info/at91sam7x128.cdef | 10 ++-------- bertos/cpu/arm/info/at91sam7x256.cdef | 10 ++-------- bertos/cpu/avr/info/atmega103.cdef | 11 +++-------- bertos/cpu/avr/info/atmega128.cdef | 11 +++-------- bertos/cpu/avr/info/atmega1281.cdef | 11 +++-------- bertos/cpu/avr/info/atmega168.cdef | 11 +++-------- bertos/cpu/avr/info/atmega32.cdef | 11 +++-------- bertos/cpu/avr/info/atmega64.cdef | 11 +++-------- bertos/cpu/avr/info/atmega8.cdef | 11 +++-------- 11 files changed, 31 insertions(+), 88 deletions(-) diff --git a/bertos/cpu/arm/info/at91sam7s128.cdef b/bertos/cpu/arm/info/at91sam7s128.cdef index 65009a3d..8b893afb 100644 --- a/bertos/cpu/arm/info/at91sam7s128.cdef +++ b/bertos/cpu/arm/info/at91sam7s128.cdef @@ -40,11 +40,6 @@ # # -# Where are locate the bertos directories -BERTOS_CPU_DIR = "bertos/cpu/" -BERTOS_SCRIPT_DIR = BERTOS_CPU_DIR + "arm/script/" -BERTOS_HW_DIR = BERTOS_CPU_DIR + "arm/hw/" - # Type of the toolchain we should use to compile the source for this CPU. TOOLCHAIN = "arm" @@ -55,8 +50,7 @@ C_FLAGS = [] CPPA_FLAGS = [] -CPP_FLAGS = [ "-D__ARM_AT91SAM7S128__" - "-fverbose-asm"] +CPP_FLAGS = [] LD_FLAGS = [ "-nostartfiles", "-T " + BERTOS_SCRIPT_DIR + " at91sam7_128_rom.ld" @@ -65,8 +59,10 @@ LD_FLAGS = [ "-nostartfiles", CPPA_SRC = [ BERTOS_HW_DIR + "crtat91sam7_rom.S", BERTOS_HW_DIR + "switch_arm.S" ] +# If you want to use, one o more, of these modules in your project you should compile in +# different way. PC_SRC = [] # For this cpu BeRTOS support these driver: -SUPPORTED_DRV = [adc, kdebug, pwm, ser, stepper, timer, twi] +SUPPORTED_DRV = [] diff --git a/bertos/cpu/arm/info/at91sam7s256.cdef b/bertos/cpu/arm/info/at91sam7s256.cdef index 2186d387..0ea8ae69 100644 --- a/bertos/cpu/arm/info/at91sam7s256.cdef +++ b/bertos/cpu/arm/info/at91sam7s256.cdef @@ -40,11 +40,6 @@ # # -# Where are locate the bertos directories -BERTOS_CPU_DIR = "bertos/cpu/" -BERTOS_SCRIPT_DIR = BERTOS_CPU_DIR + "arm/script/" -BERTOS_HW_DIR = BERTOS_CPU_DIR + "arm/hw/" - # Type of the toolchain we should use to compile the source for this CPU. TOOLCHAIN = "arm" @@ -55,8 +50,7 @@ C_FLAGS = [] CPPA_FLAGS = [] -CPP_FLAGS = [ "-D__ARM_AT91SAM7S256__" - "-fverbose-asm"] +CPP_FLAGS = [] LD_FLAGS = [ "-nostartfiles", "-T " + BERTOS_SCRIPT_DIR + " at91sam7_256_rom.ld" @@ -68,5 +62,5 @@ CPPA_SRC = [ BERTOS_HW_DIR + "crtat91sam7_rom.S", PC_SRC = [] # For this cpu BeRTOS support these driver: -SUPPORTED_DRV = [adc, kdebug, pwm, ser, stepper, timer, twi] +SUPPORTED_DRV = [] diff --git a/bertos/cpu/arm/info/at91sam7x128.cdef b/bertos/cpu/arm/info/at91sam7x128.cdef index 0c08a296..645e5b6e 100644 --- a/bertos/cpu/arm/info/at91sam7x128.cdef +++ b/bertos/cpu/arm/info/at91sam7x128.cdef @@ -40,11 +40,6 @@ # # -# Where are locate the bertos directories -BERTOS_CPU_DIR = "bertos/cpu/" -BERTOS_SCRIPT_DIR = BERTOS_CPU_DIR + "arm/script/" -BERTOS_HW_DIR = BERTOS_CPU_DIR + "arm/hw/" - # Type of the toolchain we should use to compile the source for this CPU. TOOLCHAIN = "arm" @@ -55,8 +50,7 @@ C_FLAGS = [] CPPA_FLAGS = [] -CPP_FLAGS = [ "-D__ARM_AT91SAM7X128__" - "-fverbose-asm"] +CPP_FLAGS = [] LD_FLAGS = [ "-nostartfiles", "-T " + BERTOS_SCRIPT_DIR + " at91sam7_128_rom.ld" @@ -68,5 +62,5 @@ CPPA_SRC = [ BERTOS_HW_DIR + "crtat91sam7_rom.S", PC_SRC = [] # For this cpu BeRTOS support these driver: -SUPPORTED_DRV = [adc, kdebug, pwm, ser, stepper, timer, twi] +SUPPORTED_DRV = [] diff --git a/bertos/cpu/arm/info/at91sam7x256.cdef b/bertos/cpu/arm/info/at91sam7x256.cdef index cdafb488..1d1d2bc9 100644 --- a/bertos/cpu/arm/info/at91sam7x256.cdef +++ b/bertos/cpu/arm/info/at91sam7x256.cdef @@ -40,11 +40,6 @@ # # -# Where are locate the bertos directories -BERTOS_CPU_DIR = "bertos/cpu/" -BERTOS_SCRIPT_DIR = BERTOS_CPU_DIR + "arm/script/" -BERTOS_HW_DIR = BERTOS_CPU_DIR + "arm/hw/" - # Type of the toolchain we should use to compile the source for this CPU. TOOLCHAIN = "arm" @@ -55,8 +50,7 @@ C_FLAGS = [] CPPA_FLAGS = [] -CPP_FLAGS = [ "-D__ARM_AT91SAM7X256__" - "-fverbose-asm"] +CPP_FLAGS = [] LD_FLAGS = [ "-nostartfiles", "-T " + BERTOS_SCRIPT_DIR + " at91sam7_256_rom.ld" @@ -68,5 +62,5 @@ CPPA_SRC = [ BERTOS_HW_DIR + "crtat91sam7_rom.S", PC_SRC = [] # For this cpu BeRTOS support these driver: -SUPPORTED_DRV = [adc, kdebug, pwm, ser, stepper, timer, twi] +SUPPORTED_DRV = [] diff --git a/bertos/cpu/avr/info/atmega103.cdef b/bertos/cpu/avr/info/atmega103.cdef index 135690fb..cea48676 100644 --- a/bertos/cpu/avr/info/atmega103.cdef +++ b/bertos/cpu/avr/info/atmega103.cdef @@ -40,18 +40,13 @@ # # -# 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" ] +C_FLAGS = [] CPPA_FLAGS = [] @@ -63,8 +58,8 @@ 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 ] +PC_SRC = [] # For this cpu BeRTOS support these driver: -SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] +SUPPORTED_DRV = [] diff --git a/bertos/cpu/avr/info/atmega128.cdef b/bertos/cpu/avr/info/atmega128.cdef index 5a5f77b6..2489e695 100644 --- a/bertos/cpu/avr/info/atmega128.cdef +++ b/bertos/cpu/avr/info/atmega128.cdef @@ -40,18 +40,13 @@ # # -# 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" ] +C_FLAGS = [] CPPA_FLAGS = [] @@ -63,8 +58,8 @@ 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 ] +PC_SRC = [] # For this cpu BeRTOS support these driver: -SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] +SUPPORTED_DRV = [] diff --git a/bertos/cpu/avr/info/atmega1281.cdef b/bertos/cpu/avr/info/atmega1281.cdef index fe97cabe..644324e7 100644 --- a/bertos/cpu/avr/info/atmega1281.cdef +++ b/bertos/cpu/avr/info/atmega1281.cdef @@ -40,18 +40,13 @@ # # -# 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" ] +C_FLAGS = [] CPPA_FLAGS = [] @@ -63,8 +58,8 @@ 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 ] +PC_SRC = [] # For this cpu BeRTOS support these driver: -SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] +SUPPORTED_DRV = [] diff --git a/bertos/cpu/avr/info/atmega168.cdef b/bertos/cpu/avr/info/atmega168.cdef index 268a1e78..5842f5f4 100644 --- a/bertos/cpu/avr/info/atmega168.cdef +++ b/bertos/cpu/avr/info/atmega168.cdef @@ -40,18 +40,13 @@ # # -# 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" ] +C_FLAGS = [] CPPA_FLAGS = [] @@ -63,8 +58,8 @@ 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 ] +PC_SRC = [] # For this cpu BeRTOS support these driver: -SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] +SUPPORTED_DRV = [] diff --git a/bertos/cpu/avr/info/atmega32.cdef b/bertos/cpu/avr/info/atmega32.cdef index 126069cf..8f011d17 100644 --- a/bertos/cpu/avr/info/atmega32.cdef +++ b/bertos/cpu/avr/info/atmega32.cdef @@ -40,18 +40,13 @@ # # -# 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" ] +C_FLAGS = [] CPPA_FLAGS = [] @@ -63,8 +58,8 @@ 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 ] +PC_SRC = [] # For this cpu BeRTOS support these driver: -SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] +SUPPORTED_DRV = [] diff --git a/bertos/cpu/avr/info/atmega64.cdef b/bertos/cpu/avr/info/atmega64.cdef index 8ed6d98a..63eba948 100644 --- a/bertos/cpu/avr/info/atmega64.cdef +++ b/bertos/cpu/avr/info/atmega64.cdef @@ -40,18 +40,13 @@ # # -# 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" ] +C_FLAGS = [] CPPA_FLAGS = [] @@ -63,8 +58,8 @@ 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 ] +PC_SRC = [] # For this cpu BeRTOS support these driver: -SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] +SUPPORTED_DRV = [] diff --git a/bertos/cpu/avr/info/atmega8.cdef b/bertos/cpu/avr/info/atmega8.cdef index 26891b8a..0d4ec424 100644 --- a/bertos/cpu/avr/info/atmega8.cdef +++ b/bertos/cpu/avr/info/atmega8.cdef @@ -40,18 +40,13 @@ # # -# 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" ] +C_FLAGS = [] CPPA_FLAGS = [] @@ -63,8 +58,8 @@ 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 ] +PC_SRC = [] # For this cpu BeRTOS support these driver: -SUPPORTED_DRV = [adc, flash, flash, pwm, ser, sipo, timer, wdt, ic2, kdebug, lcd_32122a] +SUPPORTED_DRV = [] -- 2.25.1