summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-04-10 11:09:57 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-04-10 11:09:57 +0200
commite585d5246b7391d35a5dc4b1ce2f79a310570f5e (patch)
tree198056eb5108053d18606fb3ffe0986d5babaa7c /src/arch
parentea1f28f59505579d90f0e51b1023c72f6fbb2ed8 (diff)
Allow software and hardware i2c to be used together (e.g. on different pins)
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arduino-nano/Kconfig2
-rw-r--r--src/arch/blinkenrocket/Kconfig2
-rw-r--r--src/arch/msp430fr5969lp/Kconfig2
-rw-r--r--src/arch/msp430fr5994lp/Kconfig2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/arduino-nano/Kconfig b/src/arch/arduino-nano/Kconfig
index ab25a8f..ce9a987 100644
--- a/src/arch/arduino-nano/Kconfig
+++ b/src/arch/arduino-nano/Kconfig
@@ -16,7 +16,7 @@ select meta_driver_adc
config arch_arduino_nano_driver_i2c
bool "I2C"
-depends on !driver_softi2c
+select meta_driver_hardware_i2c
select meta_driver_i2c
config arch_arduino_nano_driver_neopixel
diff --git a/src/arch/blinkenrocket/Kconfig b/src/arch/blinkenrocket/Kconfig
index ead54f9..c9b04a5 100644
--- a/src/arch/blinkenrocket/Kconfig
+++ b/src/arch/blinkenrocket/Kconfig
@@ -3,7 +3,7 @@
# SPDX-License-Identifier: CC0-1.0
config arch_blinkenrocket_driver_i2c
bool "I2C"
-depends on !driver_softi2c
+select meta_driver_hardware_i2c
select meta_driver_i2c
config arch_blinkenrocket_driver_uptime
diff --git a/src/arch/msp430fr5969lp/Kconfig b/src/arch/msp430fr5969lp/Kconfig
index 70fb3e4..80d74e4 100644
--- a/src/arch/msp430fr5969lp/Kconfig
+++ b/src/arch/msp430fr5969lp/Kconfig
@@ -11,7 +11,7 @@ select meta_driver_counter
config arch_msp430fr5969lp_driver_i2c
bool "I2C on eUSCI_B0"
-depends on !driver_softi2c
+select meta_driver_hardware_i2c
select meta_driver_i2c
## broken
diff --git a/src/arch/msp430fr5994lp/Kconfig b/src/arch/msp430fr5994lp/Kconfig
index abbfcab..0c97499 100644
--- a/src/arch/msp430fr5994lp/Kconfig
+++ b/src/arch/msp430fr5994lp/Kconfig
@@ -11,7 +11,7 @@ select meta_driver_counter
config arch_msp430fr5994lp_driver_i2c
bool "I2C on eUSCI_B1"
-depends on !driver_softi2c
+select meta_driver_hardware_i2c
select meta_driver_i2c
## broken