From 63f1b31b41522a73cbecac2776f4684fa8842475 Mon Sep 17 00:00:00 2001 From: asterix Date: Thu, 13 May 2010 17:14:07 +0000 Subject: [PATCH] Add missing cfg. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3699 38d2e660-2303-0410-9eaa-f027e97ec537 --- .../kernel_footprint/cfg/cfg_context_switch.h | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 boards/at91sam7x-ek/benchmark/kernel_footprint/cfg/cfg_context_switch.h diff --git a/boards/at91sam7x-ek/benchmark/kernel_footprint/cfg/cfg_context_switch.h b/boards/at91sam7x-ek/benchmark/kernel_footprint/cfg/cfg_context_switch.h new file mode 100644 index 00000000..05386929 --- /dev/null +++ b/boards/at91sam7x-ek/benchmark/kernel_footprint/cfg/cfg_context_switch.h @@ -0,0 +1,69 @@ +/** + * \file + * + * + * \brief Configuration file for the context switch benchmark. + * + * \author Daniele Basile + */ + +#ifndef CFG_CONTEXT_SWITCH_H +#define CFG_CONTEXT_SWITCH_H + +/** + * Use hp timer for the bechmark. + * + * $WIZ$ type = "boolean" + */ +#define CONFIG_USE_HP_TIMER 1 + + +/** + * Use board led for benchmark. + * + * $WIZ$ type = "boolean" + */ +#define CONFIG_USE_LED 1 + + +/** + * Debug console port. + * $WIZ$ type = "int"; min = 0 + */ +#define CONFIG_CTX_DEBUG_PORT 0 + +/** + * Baudrate for the debug console. + * $WIZ$ type = "int"; min = 300 + */ +#define CONFIG_CTX_DEBUG_BAUDRATE 115200UL + +#endif /* CFG_CONTEXT_SWITCH_H */ -- 2.25.1