X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Ftriface%2Fbenchmark%2Ftriface_context_switch%2Fcfg%2Fcfg_context_switch.h;fp=boards%2Ftriface%2Fbenchmark%2Ftriface_context_switch%2Fcfg%2Fcfg_context_switch.h;h=be15cf2fe70f80e98c3e8b0ca9157f7ba98da11e;hb=1ad9c44812fff13515605ba9511f89b4dc9e9da6;hp=0000000000000000000000000000000000000000;hpb=38c0dde41df492a35e4bd674e4f8bb7b1f575f46;p=bertos.git diff --git a/boards/triface/benchmark/triface_context_switch/cfg/cfg_context_switch.h b/boards/triface/benchmark/triface_context_switch/cfg/cfg_context_switch.h new file mode 100644 index 00000000..be15cf2f --- /dev/null +++ b/boards/triface/benchmark/triface_context_switch/cfg/cfg_context_switch.h @@ -0,0 +1,71 @@ +/** + * \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" + * $WIZ$ module= "boolean" + * $WIZ$ conditional_deps = "ser" + */ +#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 1 + +/** + * Baudrate for the debug console. + * $WIZ$ type = "int"; min = 300 + */ +#define CONFIG_CTX_DEBUG_BAUDRATE 115200UL + +#endif /* CFG_CONTEXT_SWITCH_H */