32 #ifndef _CLI_CONSTRAINTS_H_ 33 #define _CLI_CONSTRAINTS_H_ 43 #ifndef CLI_MAX_RESOURCE_LENGTH 44 static const unsigned int MAX_RESOURCE_LENGTH = 256;
50 #ifndef CLI_MAX_FILE_PATH_LENGTH 51 static const unsigned int MAX_FILE_PATH_LENGTH = 256;
59 #ifndef CLI_MAX_MENU_PER_CLI 60 static const unsigned int MAX_MENU_PER_CLI = 50;
66 #ifndef CLI_MAX_WORDS_PER_NODE 67 static const unsigned int MAX_WORDS_PER_NODE = 256;
73 #ifndef CLI_MAX_COMMENT_PATTERNS_PER_CLI 74 static const unsigned int MAX_COMMENT_PATTERNS_PER_CLI = 256;
76 static const unsigned int MAX_COMMENT_PATTERNS_PER_CLI = CLI_MAX_COMMENT_PATTERNS_PER_CLI;
82 #ifndef CLI_MAX_CMD_LINE_LENGTH 83 static const unsigned int MAX_CMD_LINE_LENGTH = 2048;
89 #ifndef CLI_MAX_CMD_LINE_WORD_COUNT 90 static const unsigned int MAX_CMD_LINE_WORD_COUNT = 256;
96 #ifndef CLI_MAX_WORD_LENGTH 97 static const unsigned int MAX_WORD_LENGTH = 256;
105 #ifndef CLI_MAX_TRACE_DEVICE_COUNT 106 static const unsigned int MAX_TRACE_DEVICE_COUNT = 128;
108 static const unsigned int MAX_TRACE_DEVICE_COUNT = CLI_MAX_TRACE_DEVICE_COUNT;
112 #ifndef CLI_MAX_TRACE_CLASS_COUNT 113 static const unsigned int MAX_TRACE_CLASS_COUNT = 1024;
119 #ifndef CLI_MAX_TRACE_CLASS_NAME_LENGTH 120 static const unsigned int MAX_TRACE_CLASS_NAME_LENGTH = MAX_WORD_LENGTH;
126 #ifndef CLI_MAX_DEVICE_NAME_LENGTH 127 static const unsigned int MAX_DEVICE_NAME_LENGTH = 256;
135 #ifndef CLI_MAX_CLI_REGISTRY_COUNT 136 static const unsigned int MAX_CLI_REGISTRY_COUNT = 10;
138 static const unsigned int MAX_CLI_REGISTRY_COUNT = MAX_CLI_CLI_REGISTRY_COUNT;
142 #ifndef CLI_MAX_IO_MUX_INPUTS 143 static const unsigned int MAX_IO_MUX_INPUTS = 100;
149 #ifndef CLI_MAX_EXECUTION_CONTEXTS 150 static const unsigned int MAX_EXECUTION_CONTEXTS = 10;
152 static const unsigned int MAX_EXECUTION_CONTEXTS = CLI_MAX_EXECUTION_CONTEXTS;
157 #endif // _CLI_CONSTRAINTS_H_ #define CLI_MAX_CMD_LINE_WORD_COUNT
Maximum number of words per command line.
#define CLI_MAX_FILE_PATH_LENGTH
Maximum file path length.
Main namespace of the CLI library.
#define CLI_MAX_DEVICE_NAME_LENGTH
Maximum device name length.
#define CLI_MAX_RESOURCE_LENGTH
Maximum resource string length.
#define CLI_MAX_TRACE_CLASS_NAME_LENGTH
Maximum length of trace class names.
#define CLI_NS_END(__ns)
End a namespace definition.
#define CLI_MAX_CMD_LINE_LENGTH
Maximum length of command lines.
#define CLI_MAX_TRACE_CLASS_COUNT
Maximum number of trace classes managed by the trace system.
#define CLI_MAX_WORDS_PER_NODE
Maximum number of words per syntax node.
#define CLI_NS_BEGIN(__ns)
Begin a namespace definition.
#define CLI_MAX_MENU_PER_CLI
Maximum number of menus per Cli object.
#define CLI_MAX_WORD_LENGTH
Maximum length of each word.
#define CLI_MAX_IO_MUX_INPUTS
Maximum input devices per IO Multiplexer device.