X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Fexamples%2Fat91sam7x-ek_sd_fat%2Fcfg%2Fcfg_context_switch.h;fp=boards%2Fat91sam7x-ek%2Fexamples%2Fat91sam7x-ek_sd_fat%2Fcfg%2Fcfg_context_switch.h;h=fe0b4f8725be942d45765855b721802b213f5185;hb=67813e9ec40a4189348aa829f93a188c017a4c87;hp=0000000000000000000000000000000000000000;hpb=6c4b0cf8c98308df4866839b9c7d8fe813376969;p=bertos.git diff --git a/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/cfg/cfg_context_switch.h b/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/cfg/cfg_context_switch.h new file mode 100644 index 00000000..fe0b4f87 --- /dev/null +++ b/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/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 0 + +/** + * Baudrate for the debug console. + * $WIZ$ type = "int"; min = 300 + */ +#define CONFIG_CTX_DEBUG_BAUDRATE 115200UL + +#endif /* CFG_CONTEXT_SWITCH_H */