summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-08-31 15:09:11 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-08-31 15:09:11 +0200
commitf533c7b6ec245ab039a257778ddba01ed889fbd3 (patch)
tree2b567d63397900ce05178de0988033c756d6d408 /src
parent30964f70eaf85f7450cdaa2f768367f5f3bf9466 (diff)
kconfig: i2c and softi2c drivers must not be combind
Diffstat (limited to 'src')
-rw-r--r--src/app/luxlog/Kconfig2
-rw-r--r--src/app/sharp96test/Kconfig2
-rw-r--r--src/arch/arduino-nano/Kconfig1
-rw-r--r--src/arch/blinkenrocket/Kconfig1
-rw-r--r--src/arch/msp430fr5969lp/Kconfig1
-rw-r--r--src/arch/msp430fr5994lp/Kconfig1
6 files changed, 6 insertions, 2 deletions
diff --git a/src/app/luxlog/Kconfig b/src/app/luxlog/Kconfig
index 6e1c6e6..52c71ea 100644
--- a/src/app/luxlog/Kconfig
+++ b/src/app/luxlog/Kconfig
@@ -1,2 +1,2 @@
prompt "Ambient Brightness Logger"
-depends on driver_max44009
+depends on (arch_msp430fr5969lp || arch_msp430fr5994lp) && driver_max44009 && loop && !wakeup
diff --git a/src/app/sharp96test/Kconfig b/src/app/sharp96test/Kconfig
index 30b9ac3..cbba858 100644
--- a/src/app/sharp96test/Kconfig
+++ b/src/app/sharp96test/Kconfig
@@ -1,2 +1,2 @@
prompt "Sharp96 Test"
-depends on driver_sharp96
+depends on driver_sharp96 && loop && !wakeup
diff --git a/src/arch/arduino-nano/Kconfig b/src/arch/arduino-nano/Kconfig
index 638ec1d..8fc89cc 100644
--- a/src/arch/arduino-nano/Kconfig
+++ b/src/arch/arduino-nano/Kconfig
@@ -4,6 +4,7 @@ select meta_driver_adc
config arch_arduino_nano_driver_i2c
bool "I2C"
+depends on !driver_softi2c
select meta_driver_i2c
config arch_arduino_nano_driver_neopixel
diff --git a/src/arch/blinkenrocket/Kconfig b/src/arch/blinkenrocket/Kconfig
index 5b9a830..c547493 100644
--- a/src/arch/blinkenrocket/Kconfig
+++ b/src/arch/blinkenrocket/Kconfig
@@ -1,5 +1,6 @@
config arch_blinkenrocket_driver_i2c
bool "I2C"
+depends on !driver_softi2c
select meta_driver_i2c
config arch_blinkenrocket_driver_uptime
diff --git a/src/arch/msp430fr5969lp/Kconfig b/src/arch/msp430fr5969lp/Kconfig
index a9a7e01..549c54f 100644
--- a/src/arch/msp430fr5969lp/Kconfig
+++ b/src/arch/msp430fr5969lp/Kconfig
@@ -8,6 +8,7 @@ select meta_driver_counter
config arch_msp430fr5969lp_driver_i2c
bool "I2C on eUSCI_B0"
+depends on !driver_softi2c
select meta_driver_i2c
## broken
diff --git a/src/arch/msp430fr5994lp/Kconfig b/src/arch/msp430fr5994lp/Kconfig
index 576d2f3..385b59c 100644
--- a/src/arch/msp430fr5994lp/Kconfig
+++ b/src/arch/msp430fr5994lp/Kconfig
@@ -8,6 +8,7 @@ select meta_driver_counter
config arch_msp430fr5994lp_driver_i2c
bool "I2C on eUSCI_B1"
+depends on !driver_softi2c
select meta_driver_i2c
## broken