Add C_FLAGS list in the cdef files
[bertos.git] / bertos / cpu / avr / info / avr.common
index 690850fead47235f646aa58b92b19ade3d5f87a8..946818733de767f0e4475377db8f416c072670e1 100644 (file)
@@ -47,6 +47,9 @@ 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"
 
@@ -57,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" ]