aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/various/shell/shell.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/os/various/shell/shell.h b/os/various/shell/shell.h
index b155ec99b..241cbb278 100644
--- a/os/various/shell/shell.h
+++ b/os/various/shell/shell.h
@@ -34,16 +34,6 @@
/*===========================================================================*/
/**
- * @brief Prompt string
- */
-#define SHELL_PROMPT_STR "ch> "
-
-/**
- * @brief Newline string
- */
-#define SHELL_NEWLINE_STR "\r\n"
-
-/**
* @brief Shell History Constants
*/
#define SHELL_HIST_DIR_BK 0
@@ -102,6 +92,20 @@
#define SHELL_USE_ESC_SEQ FALSE
#endif
+/**
+ * @brief Prompt string
+ */
+#if !defined(SHELL_PROMPT_STR) || defined(__DOXYGEN__)
+#define SHELL_PROMPT_STR "ch> "
+#endif
+
+/**
+ * @brief Newline string
+ */
+#if !defined(SHELL_NEWLINE_STR) || defined(__DOXYGEN__)
+#define SHELL_NEWLINE_STR "\r\n"
+#endif
+
/*===========================================================================*/
/* Derived constants and error checks. */
/*===========================================================================*/