Remove redundant option (is include by default in the user makefile.
[bertos.git] / bertos / cpu / avr / info / avr.common
index 3c691fa67d2768e9054dccc83851384ac040d0d5..b73a08ea6609621f297527474ba67c9490020613 100644 (file)
 #
 
 # Import the common settings for the path.
-include("path.common")
+include("../../path.common")
+
+# Short description of the cpu.
+CPU_DESC = [ "ATMEL AVR Microcontroller ",
+            "8-bit RISC Architecture"]
+
+# Special CPU related tags.
+CPU_TAGS = ["harvard"]
 
 # Type of the toolchain we should use to compile the source for this CPU.
 TOOLCHAIN = "avr"
 
+# CPU default clock frequency
+CPU_DEFAULT_FREQ = "8000000UL"
+
 # Where are locate the bertos directories
-SCRIPT_DIR = CPU_DIR + "avr/script/"
-HW_DIR = CPU_DIR + "avr/hw/"
-DRV_DIR = CPU_DIR + "avr/drv/"
+SCRIPT_DIR = CPU_DIR + "avr/scripts/"
 
+MK_FLASH_SCRIPT = PRG_SCRIPTS_DIR + "avr/flash.sh"
+MK_STOPFLASH_SCRIPT = PRG_SCRIPTS_DIR + "avr/stopflash.sh"
+MK_DEBUG_SCRIPT = PRG_SCRIPTS_DIR + "nodebug.sh"
+MK_STOPDEBUG_SCRIPT = PRG_SCRIPTS_DIR + "none.sh"
 
 # Common GCC flags.
-C_FLAGS = [ "-O0", "-fno-strict-aliasing"]
-
-
-# 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" ]
+MK_CPU_CPPFLAGS = "-Os -I" + CPU_DIR + "avr/"
 
-SUPPORTED_DRV = [ "adc",
-                 "flash",
-                 "pwm",
-                 "ser",
-                 "sipo",
-                 "timer",
-                 "wdt",
-                 "ic2",
-                 "kdebug",
-                 "lcd_32122a" ]
-