Add C_FLAGS list in the cdef files
[bertos.git] / bertos / cpu / avr / info / avr.common
index 3c691fa67d2768e9054dccc83851384ac040d0d5..946818733de767f0e4475377db8f416c072670e1 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"
@@ -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" ]