diff options
Diffstat (limited to 'src/app/ccs811test')
-rw-r--r-- | src/app/ccs811test/Kconfig | 2 | ||||
-rw-r--r-- | src/app/ccs811test/Makefile.inc | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/app/ccs811test/Kconfig b/src/app/ccs811test/Kconfig new file mode 100644 index 0000000..a219a0f --- /dev/null +++ b/src/app/ccs811test/Kconfig @@ -0,0 +1,2 @@ +prompt "CCS811 Logger" +depends on driver_ccs811 && loop && !wakeup diff --git a/src/app/ccs811test/Makefile.inc b/src/app/ccs811test/Makefile.inc index 4889e55..6bc097a 100644 --- a/src/app/ccs811test/Makefile.inc +++ b/src/app/ccs811test/Makefile.inc @@ -1,3 +1,5 @@ -override arch_drivers += ,i2c -override drivers += ,ccs811 -loop ?= 1 +ifdef app + override arch_drivers += ,i2c + override drivers += ,ccs811 + override loop = 1 +endif |