aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/demos/KINETIS/RT-FREEDOM-KL25Z-SHELL/shellconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/demos/KINETIS/RT-FREEDOM-KL25Z-SHELL/shellconf.h')
-rw-r--r--lib/chibios-contrib/demos/KINETIS/RT-FREEDOM-KL25Z-SHELL/shellconf.h139
1 files changed, 139 insertions, 0 deletions
diff --git a/lib/chibios-contrib/demos/KINETIS/RT-FREEDOM-KL25Z-SHELL/shellconf.h b/lib/chibios-contrib/demos/KINETIS/RT-FREEDOM-KL25Z-SHELL/shellconf.h
new file mode 100644
index 000000000..929bbb774
--- /dev/null
+++ b/lib/chibios-contrib/demos/KINETIS/RT-FREEDOM-KL25Z-SHELL/shellconf.h
@@ -0,0 +1,139 @@
1/*
2 ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15*/
16
17/**
18 * @file shellconf.h
19 * @brief Simple CLI shell configuration header.
20 *
21 * @addtogroup SHELL
22 * @{
23 */
24
25#ifndef SHELLCONF_H
26#define SHELLCONF_H
27
28/**
29 * @brief Shell maximum input line length.
30 */
31#if !defined(SHELL_MAX_LINE_LENGTH) || defined(__DOXYGEN__)
32#define SHELL_MAX_LINE_LENGTH 64
33#endif
34
35/**
36 * @brief Shell maximum arguments per command.
37 */
38#if !defined(SHELL_MAX_ARGUMENTS) || defined(__DOXYGEN__)
39#define SHELL_MAX_ARGUMENTS 4
40#endif
41
42/**
43 * @brief Shell maximum command history.
44 */
45#if !defined(SHELL_MAX_HIST_BUFF) || defined(__DOXYGEN__)
46#define SHELL_MAX_HIST_BUFF 8 * SHELL_MAX_LINE_LENGTH
47#endif
48
49/**
50 * @brief Enable shell command history
51 */
52#if !defined(SHELL_USE_HISTORY) || defined(__DOXYGEN__)
53#define SHELL_USE_HISTORY TRUE
54#endif
55
56/**
57 * @brief Enable shell command completion
58 */
59#if !defined(SHELL_USE_COMPLETION) || defined(__DOXYGEN__)
60#define SHELL_USE_COMPLETION TRUE
61#endif
62
63/**
64 * @brief Shell Maximum Completions (Set to max commands with common prefix)
65 */
66#if !defined(SHELL_MAX_COMPLETIONS) || defined(__DOXYGEN__)
67#define SHELL_MAX_COMPLETIONS 8
68#endif
69
70/**
71 * @brief Enable shell escape sequence processing
72 */
73#if !defined(SHELL_USE_ESC_SEQ) || defined(__DOXYGEN__)
74#define SHELL_USE_ESC_SEQ TRUE
75#endif
76
77/*===========================================================================*/
78/* Shell command settings */
79/*===========================================================================*/
80
81/**
82 * @brief Enable shell exit command
83 */
84#if !defined(SHELL_CMD_EXIT_ENABLED) || defined(__DOXYGEN__)
85#define SHELL_CMD_EXIT_ENABLED TRUE
86#endif
87
88/**
89 * @brief Enable shell info command
90 */
91#if !defined(SHELL_CMD_INFO_ENABLED) || defined(__DOXYGEN__)
92#define SHELL_CMD_INFO_ENABLED TRUE
93#endif
94
95/**
96 * @brief Enable shell echo command
97 */
98#if !defined(SHELL_CMD_ECHO_ENABLED) || defined(__DOXYGEN__)
99#define SHELL_CMD_ECHO_ENABLED TRUE
100#endif
101
102/**
103 * @brief Enable shell systime command
104 */
105#if !defined(SHELL_CMD_SYSTIME_ENABLED) || defined(__DOXYGEN__)
106#define SHELL_CMD_SYSTIME_ENABLED TRUE
107#endif
108
109/**
110 * @brief Enable shell mem command
111 */
112#if !defined(SHELL_CMD_MEM_ENABLED) || defined(__DOXYGEN__)
113#define SHELL_CMD_MEM_ENABLED TRUE
114#endif
115
116/**
117 * @brief Enable shell threads command
118 */
119#if !defined(SHELL_CMD_THREADS_ENABLED) || defined(__DOXYGEN__)
120#define SHELL_CMD_THREADS_ENABLED TRUE
121#endif
122
123/**
124 * @brief Enable shell test command
125 */
126#if !defined(SHELL_CMD_TEST_ENABLED) || defined(__DOXYGEN__)
127#define SHELL_CMD_TEST_ENABLED TRUE
128#endif
129
130/**
131 * @brief Define test thread working area
132 */
133#if !defined(SHELL_CMD_TEST_WA_SIZE) || defined(__DOXYGEN__)
134#define SHELL_CMD_TEST_WA_SIZE THD_WORKING_AREA_SIZE(256)
135#endif
136
137#endif /* SHELLCONF_H */
138
139/** @} */