X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Fexamples%2Fat91sam7x-ek_sd_fat%2Fcfg%2Fcfg_parser.h;h=67e091a56b690da308b300d204047c61423b8738;hb=0428a7371bf32926b5288cebb7b3066883e21169;hp=572b4a24f40450bf7d45d391ad6a8cfc739a6f2b;hpb=67813e9ec40a4189348aa829f93a188c017a4c87;p=bertos.git diff --git a/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/cfg/cfg_parser.h b/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/cfg/cfg_parser.h index 572b4a24..67e091a5 100644 --- a/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/cfg/cfg_parser.h +++ b/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/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 */