X-Git-Url: https://codewiz.org/gitweb?p=bertos.git;a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Fbenchmark%2Fat91sam7x-ek_context_switch%2Fcfg%2Fcfg_parser.h;h=67e091a56b690da308b300d204047c61423b8738;hp=572b4a24f40450bf7d45d391ad6a8cfc739a6f2b;hb=242d8ea69e730f74b25ae3e1e8897ea61b81c250;hpb=48f658cb2360654d8ae4e17adf660dbea5a9e72e diff --git a/boards/at91sam7x-ek/benchmark/at91sam7x-ek_context_switch/cfg/cfg_parser.h b/boards/at91sam7x-ek/benchmark/at91sam7x-ek_context_switch/cfg/cfg_parser.h index 572b4a24..67e091a5 100644 --- a/boards/at91sam7x-ek/benchmark/at91sam7x-ek_context_switch/cfg/cfg_parser.h +++ b/boards/at91sam7x-ek/benchmark/at91sam7x-ek_context_switch/cfg/cfg_parser.h @@ -38,7 +38,27 @@ #ifndef CFG_PARSER_H #define CFG_PARSER_H +/** + * Max number of arguments and results for each command + * $WIZ$ type = "int" + * $WIZ$ min = 0 + */ +#define CONFIG_PARSER_MAX_ARGS 4 + +/** + * Max number of commands + * $WIZ$ type = "int" + * $WIZ$ min = 8 + */ +#define CONFIG_MAX_COMMANDS_NUMBER 16 +/** + * Enable compatibility behaviour. + * + * Skip the first word from incoming commands. Don't enable in new projects. + * $WIZ$ type = "boolean" + */ +#define CONFIG_ENABLE_COMPAT_BEHAVIOUR 1 #endif /* CFG_PARSER_H */