From: asterix Date: Tue, 16 Dec 2008 10:30:05 +0000 (+0000) Subject: Move general cpu info in local cpu common file. Rename to path.common. X-Git-Tag: 2.1.0~645 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=79966528448c627024c20d2694d2a328b6688bd0;p=bertos.git Move general cpu info in local cpu common file. Rename to path.common. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2037 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/general.cdef b/bertos/cpu/general.cdef deleted file mode 100644 index 19d5a5bf..00000000 --- a/bertos/cpu/general.cdef +++ /dev/null @@ -1,104 +0,0 @@ -# -#-*- coding: utf-8 -*- -# -# \file -# -# -# General CPU info denfinition. -# -# This file contain all info for the BeRTOS wizard. -# -# \author Daniele Basile -# -# - -# List of the BeRTOS's supported cpu. -SUPPORTED_CPU_CORE = [ "arm", "avr" ] - -# Where are locate the bertos directories -BERTOS_CPU_DIR = "bertos/cpu/" - -BERTOS_SCRIPT_DIR = { "arm": BERTOS_CPU_DIR + "arm/script/", - "avr": BERTOS_CPU_DIR + "avr/script/" } - -BERTOS_HW_DIR = { "arm": BERTOS_CPU_DIR + "arm/hw/", - "avr": BERTOS_CPU_DIR + "avr/hw/" } - -BERTOS_DRV_DIR = { "arm": BERTOS_CPU_DIR + "arm/drv/", - "avr": BERTOS_CPU_DIR + "avr/drv/" } - -# Common GCC flags. -COM_C_FLAGS = { "arm": None, - "avr": [ "-O0", "-fno-strict-aliasing"] } - -COM_CPPA_FLAGS = { "arm": [ "-O0", "-g -gdwarf-2", "-g -gen-debug" ], - "avr": None } - -COM_CPP_FLAGS = { "arm": [ "-O0", "-g3 -gdwarf-2", "-fverbose-asm" ] - "avr": None } - -COM_LD_FLAGS = { "arm": None, - "avr": None } - -COM_CPPA_SRC = { "arm": None, - "avr": None } - -COM_PC_SRC = { "arm": None, - "avr": None } - - -# If you want to use, one o more, of these modules in your project you should compile in -# different way. -PC_SRC = { "arm": None, - "avr": [ "kdebug", - "formartwr", - "sprintf", - "text_format", - "text" ] } - -COM_SUPPORTED_DRV = { "arm": [ "adc", - "kdebug", - "pwm", - "ser", - "stepper", - "timer", - "twi" ] - "avr": [ "adc", - "flash", - "pwm", - "ser", - "sipo", - "timer", - "wdt", - "ic2", - "kdebug", - "lcd_32122a" ] } - diff --git a/bertos/cpu/path.common b/bertos/cpu/path.common new file mode 100644 index 00000000..fce20b04 --- /dev/null +++ b/bertos/cpu/path.common @@ -0,0 +1,44 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# BeRTOS common path info. +# +# This file contain all info for the BeRTOS wizard. +# +# \author Daniele Basile +# +# + +# BeRTOS cpu directory +CPU_DIR = "bertos/cpu/"