Add the project editing functionality
[bertos.git] / bertos / cpu / avr / info / avr.common
index e4837a79915de406ca36f96296b4fa58888e8a62..946818733de767f0e4475377db8f416c072670e1 100644 (file)
 # Import the common settings for the path.
 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"
 
@@ -53,13 +60,13 @@ DRV_DIR = CPU_DIR + "avr/drv/"
 
 
 # Common GCC flags.
-C_FLAGS = [ "-O0", "-fno-strict-aliasing"]
+C_FLAGS = [ "-O0", "-fno-strict-aliasing", "-I" + CPU_DIR + "avr/"]
 
 
 # If you want to use, one o more, of these modules in your project you should compile in
 # different way.
 PC_SRC = [ "kdebug",
-           "formartwr",
+           "formatwr",
            "sprintf",
            "text_format",
            "text" ]