summaryrefslogtreecommitdiff
path: root/src/app/shell
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/shell')
-rw-r--r--src/app/shell/Kconfig2
-rw-r--r--src/app/shell/Makefile.inc7
-rw-r--r--src/app/shell/main.cc1
3 files changed, 7 insertions, 3 deletions
diff --git a/src/app/shell/Kconfig b/src/app/shell/Kconfig
new file mode 100644
index 0000000..a4626d6
--- /dev/null
+++ b/src/app/shell/Kconfig
@@ -0,0 +1,2 @@
+prompt "Shell / UART Echo"
+depends on meta_driver_stdin && wakeup
diff --git a/src/app/shell/Makefile.inc b/src/app/shell/Makefile.inc
index 66d80ec..3d73351 100644
--- a/src/app/shell/Makefile.inc
+++ b/src/app/shell/Makefile.inc
@@ -1,2 +1,5 @@
-arch_drivers += ,stdin
-wakeup ?= 1
+ifdef app
+ override loop = 0
+ override wakeup = 1
+ override arch_drivers += ,stdin
+endif
diff --git a/src/app/shell/main.cc b/src/app/shell/main.cc
index 33896e4..0a7d4ca 100644
--- a/src/app/shell/main.cc
+++ b/src/app/shell/main.cc
@@ -2,7 +2,6 @@
#include "driver/gpio.h"
#include "driver/stdout.h"
#include "driver/stdin.h"
-#include "driver/uptime.h"
/*
void check_command(unsigned char argc, char** argv)