diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-12-25 18:40:46 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-12-25 18:40:46 +0100 |
commit | 54d72afd0d9e732c197ea1645177359c7b0c6cbd (patch) | |
tree | 75e2a46276c255621e8a1b5dfb0b7ec3ea59fe66 | |
parent | bc9d07a4d4acd1e612c1bb509372e40e60cd4d8d (diff) |
move softi2c pin config to sub-menu
-rw-r--r-- | src/driver/Kconfig | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/driver/Kconfig b/src/driver/Kconfig index 457b6e3..ded7a4e 100644 --- a/src/driver/Kconfig +++ b/src/driver/Kconfig @@ -129,13 +129,15 @@ select meta_driver_i2c endmenu +menu "SoftI2C Configuration" +depends on driver_softi2c + config driver_softi2c_scl string "SCL Pin" 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" @@ -143,7 +145,6 @@ 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 @@ -159,3 +160,5 @@ help Internal Pull-Up, disabled when transmitting LOW endchoice + +endmenu |