Update preset.
[bertos.git] / bertos / cfg / cfg_parser.h
index c28dcc3edb35a6f33ba0170535e4f79eb249a24d..67e091a56b690da308b300d204047c61423b8738 100644 (file)
  *
  * \brief Configuration file for parser module.
  *
- * \version $Id$
- *
  * \author Daniele Basile <asterix@develer.com>
  */
 
 #ifndef CFG_PARSER_H
 #define CFG_PARSER_H
 
-/// TODO
-#define CONFIG_INTERNAL_COMMANDS 0
+/**
+ * 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 */