X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_http_server%2Fcfg%2Fcfg_parser.h;fp=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_http_server%2Fcfg%2Fcfg_parser.h;h=67e091a56b690da308b300d204047c61423b8738;hb=27f2847bef705b09dbe026ffce96123b51593077;hp=0000000000000000000000000000000000000000;hpb=1fbd93a28162f17e2322f8b89467930b67731ded;p=bertos.git diff --git a/boards/sam3x-ek/examples/sam3x-ek_http_server/cfg/cfg_parser.h b/boards/sam3x-ek/examples/sam3x-ek_http_server/cfg/cfg_parser.h new file mode 100644 index 00000000..67e091a5 --- /dev/null +++ b/boards/sam3x-ek/examples/sam3x-ek_http_server/cfg/cfg_parser.h @@ -0,0 +1,66 @@ +/** + * \file + * + * + * \brief Configuration file for parser module. + * + * \author Daniele Basile + */ + +#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 */ + + +