summaryrefslogtreecommitdiff
path: root/src/app/wetterstation
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-08-28 15:25:37 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-08-28 15:25:37 +0200
commit3a66ae51c3f34108428e582ef693866d71496d16 (patch)
tree6a8ab3774af1b1077720671a92f40a92d5425bcf /src/app/wetterstation
parente12d6d528705344628568000dc2fddb919457411 (diff)
Expose configuration via Kconfig
Diffstat (limited to 'src/app/wetterstation')
-rw-r--r--src/app/wetterstation/Kconfig2
-rw-r--r--src/app/wetterstation/Makefile.inc4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/app/wetterstation/Kconfig b/src/app/wetterstation/Kconfig
new file mode 100644
index 0000000..691784c
--- /dev/null
+++ b/src/app/wetterstation/Kconfig
@@ -0,0 +1,2 @@
+prompt "Wetterstation"
+depends on meta_driver_adc && (arch_arduino_nano || arch_arduino_nano_168)
diff --git a/src/app/wetterstation/Makefile.inc b/src/app/wetterstation/Makefile.inc
index 2cb8a42..ec71d40 100644
--- a/src/app/wetterstation/Makefile.inc
+++ b/src/app/wetterstation/Makefile.inc
@@ -1 +1,3 @@
-loop ?= 1
+ifdef app
+ override loop = 1
+endif