diff options
author | Jonathan Struebel <jonathan.struebel@gmail.com> | 2016-04-17 15:51:44 -0700 |
---|---|---|
committer | Jonathan Struebel <jonathan.struebel@gmail.com> | 2016-04-17 15:52:13 -0700 |
commit | 8f3f907100909218f78648e4ad9dc3a2916777c3 (patch) | |
tree | 42317054397c9b77ab72556e802a54ee37c7578a /demos/KINETIS/RT-FREEDOM-KL25Z-SHELL/shellcfg.h | |
parent | e128f885889123f3884c2d2c6048ea596ea45dec (diff) | |
download | ChibiOS-Contrib-8f3f907100909218f78648e4ad9dc3a2916777c3.tar.gz ChibiOS-Contrib-8f3f907100909218f78648e4ad9dc3a2916777c3.tar.bz2 ChibiOS-Contrib-8f3f907100909218f78648e4ad9dc3a2916777c3.zip |
[KINETIS] Added shell demo for FRDM-KL25Z
Diffstat (limited to 'demos/KINETIS/RT-FREEDOM-KL25Z-SHELL/shellcfg.h')
-rw-r--r-- | demos/KINETIS/RT-FREEDOM-KL25Z-SHELL/shellcfg.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/demos/KINETIS/RT-FREEDOM-KL25Z-SHELL/shellcfg.h b/demos/KINETIS/RT-FREEDOM-KL25Z-SHELL/shellcfg.h new file mode 100644 index 0000000..cbb2e44 --- /dev/null +++ b/demos/KINETIS/RT-FREEDOM-KL25Z-SHELL/shellcfg.h @@ -0,0 +1,39 @@ +/*
+ Copyright (C) 2016 Jonathan Struebel
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file common/shellcfg.h
+ * @brief CLI shell config header.
+ *
+ * @addtogroup SHELL
+ * @{
+ */
+
+#ifndef SHELLCFG_H
+#define SHELLCFG_H
+
+#include "shell.h"
+
+/*
+ * Shell Thread size
+ */
+#define SHELL_WA_SIZE THD_WORKING_AREA_SIZE(2048)
+
+extern ShellConfig shell_cfg;
+
+#endif /* SHELLCFG_H */
+
+/** @} */
|