X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Favr%2Finfo%2Favr.common;h=140c207627b107a42839b8f747fdb070dec6d587;hb=53af4558886960f99632fb9cea1af91ce3fe82b1;hp=abf6332f0ddac40e0befd56880ffab449f639fdc;hpb=3e910865b8ce8d9a4aa6f9efa605cb2de5b6a213;p=bertos.git diff --git a/bertos/cpu/avr/info/avr.common b/bertos/cpu/avr/info/avr.common index abf6332f..140c2076 100644 --- a/bertos/cpu/avr/info/avr.common +++ b/bertos/cpu/avr/info/avr.common @@ -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,7 +66,7 @@ DRV_DIR = CPU_DIR + "avr/drv/" # Common GCC flags. -C_FLAGS = [ "-Os", "-fno-strict-aliasing", "-I" + CPU_DIR + "avr/"] +CPP_FLAGS = [ "-Os", "-fno-strict-aliasing", "-I" + CPU_DIR + "avr/"] SUPPORTED_DRV = [ "adc", "flash",