X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Favr%2Finfo%2Favr.common;h=924eea9a02dec02b77eb38fd05c93969cd91322a;hb=388f7931a07e3bf406978bdf788d34e86f33bf53;hp=b04117f17d3509f73a36599beb9b0b9b166fc814;hpb=11082679bea887e1369cfca34244894de71e445a;p=bertos.git diff --git a/bertos/cpu/avr/info/avr.common b/bertos/cpu/avr/info/avr.common index b04117f1..924eea9a 100644 --- a/bertos/cpu/avr/info/avr.common +++ b/bertos/cpu/avr/info/avr.common @@ -56,23 +56,19 @@ 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/" DRV_DIR = CPU_DIR + "avr/drv/" +FLASH_SCRIPT = SCRIPT_DIR + "flash.sh" +DEBUG_SCRIPT = SCRIPT_DIR + "debug.sh" # 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",