Skip to content

Commit 297eb52

Browse files
Alain Volmatfabiobaltieri
authored andcommitted
drivers: mbox: stm32-hsem: build driver if DT enabled
Default to building the driver if its node is enabled in the device-tree, avoiding the need to manually set CONFIG_MBOX_STM32_HSEM. Signed-off-by: Alain Volmat <[email protected]>
1 parent f84b0f0 commit 297eb52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mbox/Kconfig.stm32_hsem

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
config MBOX_STM32_HSEM
55
bool "MBOX STM32 HSEM driver"
6+
default y
67
depends on DT_HAS_ST_MBOX_STM32_HSEM_ENABLED
78
help
89
MBOX Driver for STM32 hardware semaphore

0 commit comments

Comments
 (0)