diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-11-03 21:58:29 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-11-03 21:58:29 +0100 |
commit | 39872ea0504d3a87158623e22596390e56759c53 (patch) | |
tree | c44e5fffdaf591e7fc55b3f14a7723a9bf375076 /src/driver/Kconfig | |
parent | d9f91aa068be7e7a743b533a00380a81eeb618df (diff) |
kconfig: s5851a should be working now
Diffstat (limited to 'src/driver/Kconfig')
-rw-r--r-- | src/driver/Kconfig | 26 |
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" |