aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/various/shell.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/various/shell.h b/os/various/shell.h
index 17ce2312b..29d20db5e 100644
--- a/os/various/shell.h
+++ b/os/various/shell.h
@@ -71,7 +71,9 @@ extern "C" {
#endif
void shellInit(void);
void shellExit(msg_t msg);
+#if CH_CFG_USE_HEAP && CH_CFG_USE_DYNAMIC
thread_t *shellCreate(const ShellConfig *scp, size_t size, tprio_t prio);
+#endif
thread_t *shellCreateStatic(const ShellConfig *scp, void *wsp,
size_t size, tprio_t prio);
bool shellGetLine(BaseSequentialStream *chp, char *line, unsigned size);