drivers: entropy: nrf5: add "depends on MULTITHREADING"
entropy_nrf5 modules uses k_sem_xxx() functions in several places, but these functions are only functional when CONFIG_MULTITHREADING is set, otherwise they just fallback to the empty weak implementation provided in zephyr/lib/libc/armstdc/src/threading_weak.c. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
62581570a7
commit
daab04857f
@ -16,6 +16,7 @@ menuconfig ENTROPY_NRF5_RNG
|
||||
default y
|
||||
depends on !ENTROPY_NRF_FORCE_ALT
|
||||
depends on DT_HAS_NORDIC_NRF_RNG_ENABLED
|
||||
depends on MULTITHREADING # k_sem_xxx() functions used in the driver
|
||||
select ENTROPY_HAS_DRIVER
|
||||
help
|
||||
This option enables the RNG peripheral, which is a random number
|
||||
|
||||
Loading…
Reference in New Issue
Block a user