Skip to content

Commit 58c8446

Browse files
author
David Frey
committed
config: Enable SHT drivers for raspberry pi
The SHT temperature and humidity sensors are often used in weather station projects. Signed-off-by: David Frey <[email protected]>
1 parent dcf857a commit 58c8446

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

arch/arm/configs/bcm2709_defconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,9 @@ CONFIG_W1_SLAVE_BQ27000=m
610610
CONFIG_BATTERY_DS2760=m
611611
CONFIG_POWER_RESET=y
612612
CONFIG_POWER_RESET_GPIO=y
613-
# CONFIG_HWMON is not set
613+
CONFIG_HWMON=m
614+
CONFIG_SENSORS_SHT21=m
615+
CONFIG_SENSORS_SHTC1=m
614616
CONFIG_THERMAL=y
615617
CONFIG_THERMAL_BCM2835=y
616618
CONFIG_WATCHDOG=y

arch/arm/configs/bcmrpi_defconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,9 @@ CONFIG_W1_SLAVE_BQ27000=m
603603
CONFIG_BATTERY_DS2760=m
604604
CONFIG_POWER_RESET=y
605605
CONFIG_POWER_RESET_GPIO=y
606-
# CONFIG_HWMON is not set
606+
CONFIG_HWMON=m
607+
CONFIG_SENSORS_SHT21=m
608+
CONFIG_SENSORS_SHTC1=m
607609
CONFIG_THERMAL=y
608610
CONFIG_THERMAL_BCM2835=y
609611
CONFIG_WATCHDOG=y

0 commit comments

Comments
 (0)