From: batt Date: Tue, 14 Apr 2009 13:32:25 +0000 (+0000) Subject: Add default clock frequency. X-Git-Tag: 2.1.0~180 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=1a4ce4505a66413f86bf364e796bc22169b95fef;p=bertos.git Add default clock frequency. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2502 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/arm/info/at91sam7.common b/bertos/cpu/arm/info/at91sam7.common index 8122e5cc..b4e01fc6 100644 --- a/bertos/cpu/arm/info/at91sam7.common +++ b/bertos/cpu/arm/info/at91sam7.common @@ -57,6 +57,9 @@ CORE_CPU = "arm7tdmi" # Name of the flag used by the build system to pass to the compiler the CPU type. CPU_FLAG_NAME = "CPU" +# CPU default clock frequency +CPU_DEFAULT_FREQ = "48023000UL" + # Where are locate the bertos directories SCRIPT_DIR = CPU_DIR + "arm/scripts/" HW_DIR = CPU_DIR + "arm/hw/" diff --git a/bertos/cpu/avr/info/avr.common b/bertos/cpu/avr/info/avr.common index abf6332f..be56dca6 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/"