X-Git-Url: https://codewiz.org/gitweb?p=bertos.git;a=blobdiff_plain;f=boards%2Fstm32-p103%2Ftemplates%2Fstm32-p103_kernel%2Fcfg%2Fcfg_parser.h;h=67e091a56b690da308b300d204047c61423b8738;hp=572b4a24f40450bf7d45d391ad6a8cfc739a6f2b;hb=0c2a292f95d10af7c39b2b3df0c1ce0c16a791ed;hpb=419ecb32a02d0116d04e483e0b088be82ec69f73 diff --git a/boards/stm32-p103/templates/stm32-p103_kernel/cfg/cfg_parser.h b/boards/stm32-p103/templates/stm32-p103_kernel/cfg/cfg_parser.h index 572b4a24..67e091a5 100644 --- a/boards/stm32-p103/templates/stm32-p103_kernel/cfg/cfg_parser.h +++ b/boards/stm32-p103/templates/stm32-p103_kernel/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 */