Skip to content

Commit 26ca2cf

Browse files
valeriosettijhedberg
authored andcommitted
drivers: entropy: nrf5: add dependency on MULTITHREADING
The driver internally uses semaphores which are only available if CONFIG_MULTITHREADING is enabled in the build. Signed-off-by: Valerio Setti <[email protected]>
1 parent 25a71f3 commit 26ca2cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/entropy/Kconfig.nrf5

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ menuconfig ENTROPY_NRF5_RNG
1616
default y
1717
depends on !ENTROPY_NRF_FORCE_ALT
1818
depends on DT_HAS_NORDIC_NRF_RNG_ENABLED
19+
depends on MULTITHREADING # for k_sem
1920
select ENTROPY_HAS_DRIVER
2021
help
2122
This option enables the RNG peripheral, which is a random number

0 commit comments

Comments
 (0)