remove unneed function. Use hpread in context switch benchmark.
[bertos.git] / bertos / cpu / avr / info / avr.common
index 5bb40dee108eccc8226f6869ee0f60ef6089aad6..f0fd278c7a2e78dfe7ff9945d411e1dd78133f01 100644 (file)
@@ -47,22 +47,23 @@ include("../../path.common")
 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"
 
+# Special CPU related tags.
+CPU_TAGS = ["harvard", TOOLCHAIN]
+
 # CPU default clock frequency
 CPU_DEFAULT_FREQ = "8000000UL"
 
 # Where are locate the bertos directories
 SCRIPT_DIR = CPU_DIR + "avr/scripts/"
-PROG_SCRIPT_DIR = "prog_scripts/avr/"
 
-MK_FLASH_SCRIPT = PROG_SCRIPT_DIR + "flash.sh"
-MK_DEBUG_SCRIPT = PROG_SCRIPT_DIR + "debug.sh"
+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.
-MK_CPU_CPPFLAGS = "-Os -fno-strict-aliasing -I" + CPU_DIR + "avr/"
+MK_CPU_CPPFLAGS = "-Os -I" + CPU_DIR + "avr/"