From 1530c98a77264144ab2998f926c3a4e8ba11ce50 Mon Sep 17 00:00:00 2001 From: Mathieu Choplain Date: Mon, 9 Sep 2024 13:44:02 +0200 Subject: [PATCH] drivers: hwinfo: stm32: mark STM32WB0 series as incompatible The existing hwinfo driver for STM32 is incompatible with STM32WB0 series. Prevent compiling the driver if the target's series is STM32WB0. This fixes the build failure on the drivers.hwinfo.api test. Signed-off-by: Mathieu Choplain --- drivers/hwinfo/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwinfo/Kconfig b/drivers/hwinfo/Kconfig index 53296839540..2e270740619 100644 --- a/drivers/hwinfo/Kconfig +++ b/drivers/hwinfo/Kconfig @@ -65,7 +65,7 @@ endif # HWINFO_CC13XX_CC26XX config HWINFO_STM32 bool "STM32 hwinfo" default y - depends on SOC_FAMILY_STM32 + depends on SOC_FAMILY_STM32 && !SOC_SERIES_STM32WB0X select HWINFO_HAS_DRIVER help Enable STM32 hwinfo driver.