You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a dumb question. How do I enable the RNG driver (cores/nRF5/nordic/nrfx/drivers/include/nrfx_rng.h)? I have included the driver in my source file. I have added -DNRFX_RNG_ENABLED to the build_flags in my platformio.ini
Building results in undefined reference to nrfx_rng_init and undefined reference to nrfx_rng_uninit
I don't think that code is included currently. I would need to add it, might be time to update nrfx as well. Any particular reason to use this over the other options?
@tsl0922@lilindian16 I was looking into this today and the reason it is not included is because the NimBLE core defines the RNG ISR so there is a conflict. However this actually simplifies things because you can simply do this:
Activity
h2zero commentedon Apr 20, 2024
I don't think that code is included currently. I would need to add it, might be time to update nrfx as well. Any particular reason to use this over the other options?
tsl0922 commentedon Dec 31, 2024
@h2zero Any reason you just included the header without code? I'd like to use the rtc driver, but it's code is missing too.
h2zero commentedon Jan 2, 2025
It was required by another file, no sure which. I will be looking to update the nrfx version soon and will include this as well.
h2zero commentedon Jan 16, 2025
@tsl0922 @lilindian16 I was looking into this today and the reason it is not included is because the NimBLE core defines the RNG ISR so there is a conflict. However this actually simplifies things because you can simply do this: