Skip to content

Commit 1530c98

Browse files
mathieuchopstmcarlescufi
authored andcommitted
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>
1 parent e322fa9 commit 1530c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwinfo/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ endif # HWINFO_CC13XX_CC26XX
6565
config HWINFO_STM32
6666
bool "STM32 hwinfo"
6767
default y
68-
depends on SOC_FAMILY_STM32
68+
depends on SOC_FAMILY_STM32 && !SOC_SERIES_STM32WB0X
6969
select HWINFO_HAS_DRIVER
7070
help
7171
Enable STM32 hwinfo driver.

0 commit comments

Comments
 (0)