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 <mathieu.choplain@st.com>
This commit is contained in:
Mathieu Choplain 2024-09-09 13:44:02 +02:00 committed by Carles Cufí
parent e322fa9781
commit 1530c98a77

View file

@ -65,7 +65,7 @@ endif # HWINFO_CC13XX_CC26XX
config HWINFO_STM32 config HWINFO_STM32
bool "STM32 hwinfo" bool "STM32 hwinfo"
default y default y
depends on SOC_FAMILY_STM32 depends on SOC_FAMILY_STM32 && !SOC_SERIES_STM32WB0X
select HWINFO_HAS_DRIVER select HWINFO_HAS_DRIVER
help help
Enable STM32 hwinfo driver. Enable STM32 hwinfo driver.