X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=boards%2Fek-lm3s1968%2Fbenchmarck%2Fkernel_footprint%2Fcfg%2Fcfg_context_switch.h;fp=boards%2Fek-lm3s1968%2Fbenchmarck%2Fkernel_footprint%2Fcfg%2Fcfg_context_switch.h;h=0538692987b453ad3e4b3deb519471dffa6c0906;hb=b3275d403a59f8c2b042abcb7a6b168e50105061;hp=0000000000000000000000000000000000000000;hpb=84cf056f574c42a3bd577bf3929498acac7c897e;p=bertos.git diff --git a/boards/ek-lm3s1968/benchmarck/kernel_footprint/cfg/cfg_context_switch.h b/boards/ek-lm3s1968/benchmarck/kernel_footprint/cfg/cfg_context_switch.h new file mode 100644 index 00000000..05386929 --- /dev/null +++ b/boards/ek-lm3s1968/benchmarck/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 */