summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/Kconfig26
1 files changed, 25 insertions, 1 deletions
diff --git a/src/driver/Kconfig b/src/driver/Kconfig
index 4e630d2..39e99b3 100644
--- a/src/driver/Kconfig
+++ b/src/driver/Kconfig
@@ -82,7 +82,9 @@ depends on ( arch_msp430fr5969lp || arch_msp430fr5994lp ) && meta_driver_spi
# resistive_load is AEMR-specific and not included in Kconfig
-# s5851a is broken and incomplete
+config driver_s5851a
+bool "S5851 Temperature Sensor"
+depends on meta_driver_i2c
config driver_sharp96
bool "sharp LS013B4DN 96x96px Transflective LC Display"
@@ -121,6 +123,28 @@ select meta_driver_i2c
endmenu
+config driver_softi2c_name
+string "Instance Name"
+default "i2c"
+
+config driver_softi2c_scl
+string "SCL Pin"
+default "d7" if arch_esp8266
+default "pc5" if arch_arduino_nano
+default "p1_7" if arch_msp430fr5969lp
+default "p5_1" if arch_msp430fr5994lp
+default "px01" if arch_posix
+depends on driver_softi2c
+
+config driver_softi2c_sda
+string "SDA Pin"
+default "d6" if arch_esp8266
+default "pc4" if arch_arduino_nano
+default "p1_6" if arch_msp430fr5969lp
+default "p5_0" if arch_msp430fr5994lp
+default "px00" if arch_posix
+depends on driver_softi2c
+
choice driver_softi2c_pullup
bool "SoftI2C Pull-Up Configuration"