From 1a4ce4505a66413f86bf364e796bc22169b95fef Mon Sep 17 00:00:00 2001 From: batt Date: Tue, 14 Apr 2009 13:32:25 +0000 Subject: [PATCH] Add default clock frequency. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2502 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/info/at91sam7.common | 3 +++ bertos/cpu/avr/info/avr.common | 3 +++ 2 files changed, 6 insertions(+) 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/" -- 2.25.1