projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix conding stily.
[bertos.git]
/
boards
/
sam3n-ek
/
templates
/
sam3n-ek_empty
/
cfg
/
cfg_parser.h
diff --git
a/boards/sam3n-ek/templates/sam3n-ek_empty/cfg/cfg_parser.h
b/boards/sam3n-ek/templates/sam3n-ek_empty/cfg/cfg_parser.h
index 572b4a24f40450bf7d45d391ad6a8cfc739a6f2b..67e091a56b690da308b300d204047c61423b8738 100644
(file)
--- a/
boards/sam3n-ek/templates/sam3n-ek_empty/cfg/cfg_parser.h
+++ b/
boards/sam3n-ek/templates/sam3n-ek_empty/cfg/cfg_parser.h
@@
-38,7
+38,27
@@
#ifndef CFG_PARSER_H
#define CFG_PARSER_H
#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 */
#endif /* CFG_PARSER_H */