Commit daab0485 authored by Valerio Setti's avatar Valerio Setti Committed by Benjamin Cabé
Browse files

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: default avatarValerio Setti <vsetti@baylibre.com>
parent 62581570
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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