diff --git a/boards/arm/96b_argonkey/Kconfig.defconfig b/boards/arm/96b_argonkey/Kconfig.defconfig index a7298bf72e8..b802669c715 100644 --- a/boards/arm/96b_argonkey/Kconfig.defconfig +++ b/boards/arm/96b_argonkey/Kconfig.defconfig @@ -53,8 +53,9 @@ endchoice config LSM6DSL_SENSORHUB default y -config LSM6DSL_EXT0_LIS2MDL - default y +choice LSM6DSL_EXTERNAL_SENSOR_0 + default LSM6DSL_EXT0_LIS2MDL +endchoice endif # LSM6DSL diff --git a/drivers/sensor/lsm6dsl/Kconfig b/drivers/sensor/lsm6dsl/Kconfig index 21343b52f3b..e6e61a00cf8 100644 --- a/drivers/sensor/lsm6dsl/Kconfig +++ b/drivers/sensor/lsm6dsl/Kconfig @@ -198,16 +198,17 @@ config LSM6DSL_ENABLE_INTERNAL_PULLUP bool "Enabled internals pull-up resistors" default y -choice +choice LSM6DSL_EXTERNAL_SENSOR_0 prompt "External sensor 0" - default LSM6DSL_EXT0_LIS2MDL help Choose the external sensor 0 connected to LSM6DS3. config LSM6DSL_EXT0_LIS2MDL bool "LIS2MDL" + config LSM6DSL_EXT0_LPS22HB bool "LPS22HB" + endchoice endif #LSM6DSL_SENSORHUB