Line No. | Rev | Author | Line |
---|---|---|---|
1 | 6 | kaklik | /*! \file cmdlineconf.c \brief Command-Line Interface Library Configuration. */ |
2 | //***************************************************************************** |
||
3 | // |
||
4 | // File Name : 'cmdlineconf.c' |
||
5 | // Title : Command-Line Interface Library Configuration |
||
6 | // Author : Pascal Stang - Copyright (C) 2003 |
||
7 | // Created : 2003.07.16 |
||
8 | // Revised : 2003.07.21 |
||
9 | // Version : 0.1 |
||
10 | // Target MCU : Atmel AVR Series |
||
11 | // Editor Tabs : 4 |
||
12 | // |
||
13 | // NOTE: This code is currently below version 1.0, and therefore is considered |
||
14 | // to be lacking in some functionality or documentation, or may not be fully |
||
15 | // tested. Nonetheless, you can expect most functions to work. |
||
16 | // |
||
17 | // This code is distributed under the GNU Public License |
||
18 | // which can be found at http://www.gnu.org/licenses/gpl.txt |
||
19 | // |
||
20 | //***************************************************************************** |
||
21 | |||
22 | #ifndef CMDLINECONF_H |
||
23 | #define CMDLINECONF_H |
||
24 | |||
25 | #include "global.h" |
||
26 | |||
27 | // constants/macros/typdefs |
||
28 | |||
29 | // size of command database |
||
30 | // (maximum number of commands the cmdline system can handle) |
||
31 | #define CMDLINE_MAX_COMMANDS 10 |
||
32 | |||
33 | // maximum length (number of characters) of each command string |
||
34 | // (quantity must include one additional byte for a null terminator) |
||
35 | #define CMDLINE_MAX_CMD_LENGTH 15 |
||
36 | |||
37 | // allotted buffer size for command entry |
||
38 | // (must be enough chars for typed commands and the arguments that follow) |
||
39 | #define CMDLINE_BUFFERSIZE 80 |
||
40 | |||
41 | // number of lines of command history to keep |
||
42 | // (each history buffer is CMDLINE_BUFFERSIZE in size) |
||
43 | // ***** ONLY ONE LINE OF COMMAND HISTORY IS CURRENTLY SUPPORTED |
||
44 | #define CMDLINE_HISTORYSIZE 1 |
||
45 | |||
46 | #endif |
Powered by WebSVN v2.8.3