summaryrefslogtreecommitdiff
path: root/src/app/button-and-motion-logger
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/button-and-motion-logger')
-rw-r--r--src/app/button-and-motion-logger/Kconfig2
-rw-r--r--src/app/button-and-motion-logger/Makefile.inc6
2 files changed, 6 insertions, 2 deletions
diff --git a/src/app/button-and-motion-logger/Kconfig b/src/app/button-and-motion-logger/Kconfig
new file mode 100644
index 0000000..fe5d888
--- /dev/null
+++ b/src/app/button-and-motion-logger/Kconfig
@@ -0,0 +1,2 @@
+prompt "Button and Motion Logger"
+depends on meta_driver_adc && driver_mpu9250 && !loop && !wakeup
diff --git a/src/app/button-and-motion-logger/Makefile.inc b/src/app/button-and-motion-logger/Makefile.inc
index f433287..eff5706 100644
--- a/src/app/button-and-motion-logger/Makefile.inc
+++ b/src/app/button-and-motion-logger/Makefile.inc
@@ -1,2 +1,4 @@
-arch_drivers += ,adc,i2c
-override drivers += ,mpu9250
+ifdef app
+ override arch_drivers += ,adc,i2c
+ override drivers += ,mpu9250
+endif