Skip to content

Conversation

degjorva
Copy link
Contributor

Add ENTROPY_GENERATOR=y in overlays for l series devices. This fixes an error where a trng source is not included in ncs.

I attempted to fix this without an ugly noup here: nrfconnect/sdk-nrf@8479106, but this causes regressions in benchmarks.current_consumption.systemoff.grtc_wakeup and tests/drivers/uart/uart_mix_fifo_poll/drivers.uart.uart_mix_poll_fifo. The issue here is with the mismatch between how zephyr handles including the rng and how it is handled in NCS. In NCS the assumption is made that when required it is enabled explicitly, while in zephyr it is implicitly enabled as long as it exists in the device tree. In the L series the assumption is also made that rng will not be called inside an interrupt as it owns and uses its own mutexes. The easiest way to handle this then was with these overlays as a noup.

Add ENTROPY_GENERATOR=y in overlays for l series devices.
This fixes an error where a trng source is not included in ncs.

Signed-off-by: Dag Erik Gjørvad <[email protected]>
@nordicjm nordicjm merged commit 6997770 into nrfconnect:main Aug 20, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants