X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32-p103%2Fbenchmark%2Fstm32-p103_context_switch%2Fcfg%2Fcfg_keytag.h;fp=boards%2Fstm32-p103%2Fbenchmark%2Fstm32-p103_context_switch%2Fcfg%2Fcfg_keytag.h;h=8bedadf6a3aa3bff618ddf84b2eb2ffd42c5b497;hb=1ebcf9b89595826a5c158ae6a68d4c2407b1dd52;hp=0000000000000000000000000000000000000000;hpb=0c2a292f95d10af7c39b2b3df0c1ce0c16a791ed;p=bertos.git diff --git a/boards/stm32-p103/benchmark/stm32-p103_context_switch/cfg/cfg_keytag.h b/boards/stm32-p103/benchmark/stm32-p103_context_switch/cfg/cfg_keytag.h new file mode 100644 index 00000000..8bedadf6 --- /dev/null +++ b/boards/stm32-p103/benchmark/stm32-p103_context_switch/cfg/cfg_keytag.h @@ -0,0 +1,61 @@ +/** + * \file + * + * + * \brief Configuration file for keytag module. + * + * \author Daniele Basile + */ + +#ifndef CFG_KEYTAG_H +#define CFG_KEYTAG_H + +/** + * Module logging level. + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ +#define CONFIG_KEYTAG_LOG_LEVEL LOG_LVL_ERR +/** + * Module logging format. + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ +#define CONFIG_KEYTAG_LOG_FORMAT LOG_FMT_TERSE + +/** + * Max buffer lenght + * $WIZ$ type = "int" + */ +#define CONFIG_TAG_MAX_LEN 14U + +#endif /* CFG_KEYTAG_H */ +