Import SPI with DMA driver.
[bertos.git] / bertos / cpu / avr / info / avr.common
index b04117f17d3509f73a36599beb9b0b9b166fc814..140c207627b107a42839b8f747fdb070dec6d587 100644 (file)
@@ -56,6 +56,9 @@ TOOLCHAIN = "avr"
 # Name of the flag used by the build system to pass to the compiler the CPU type.
 CPU_FLAG_NAME = "MCU"
 
+# CPU default clock frequency
+CPU_DEFAULT_FREQ = "8000000UL"
+
 # Where are locate the bertos directories
 SCRIPT_DIR = CPU_DIR + "avr/scripts/"
 HW_DIR = CPU_DIR + "avr/hw/"
@@ -63,16 +66,7 @@ DRV_DIR = CPU_DIR + "avr/drv/"
 
 
 # Common GCC flags.
-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",
-           "formatwr",
-           "sprintf",
-           "text_format",
-           "text" ]
+CPP_FLAGS = [ "-Os", "-fno-strict-aliasing", "-I" + CPU_DIR + "avr/"]
 
 SUPPORTED_DRV = [ "adc",
                  "flash",