Add C_FLAGS list in the cdef files
[bertos.git] / bertos / cpu / avr / info / avr.common
index 2099f6889108fcc43ec3ae09edb25fbce000e7eb..946818733de767f0e4475377db8f416c072670e1 100644 (file)
@@ -60,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" ]