diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-08-28 15:25:37 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-08-28 15:25:37 +0200 |
commit | 3a66ae51c3f34108428e582ef693866d71496d16 (patch) | |
tree | 6a8ab3774af1b1077720671a92f40a92d5425bcf /src/app/button-and-motion-logger | |
parent | e12d6d528705344628568000dc2fddb919457411 (diff) |
Expose configuration via Kconfig
Diffstat (limited to 'src/app/button-and-motion-logger')
-rw-r--r-- | src/app/button-and-motion-logger/Kconfig | 2 | ||||
-rw-r--r-- | src/app/button-and-motion-logger/Makefile.inc | 6 |
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 |