From: asterix Date: Thu, 13 May 2010 17:14:07 +0000 (+0000) Subject: Add missing cfg. X-Git-Tag: 2.5.0~218 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=63f1b31b41522a73cbecac2776f4684fa8842475;p=bertos.git Add missing cfg. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3699 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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 */