turns out random_bytes was broken on nrf52

This commit is contained in:
J. Nick Koston
2026-03-19 14:26:08 -10:00
parent 8e6bc37785
commit d161757588
+2
View File
@@ -122,6 +122,8 @@ def zephyr_to_code(config: ConfigType) -> None:
zephyr_add_prj_conf("FPU", True)
zephyr_add_prj_conf("NEWLIB_LIBC_FLOAT_PRINTF", True)
zephyr_add_prj_conf("STD_CPP20", True)
# random_bytes() uses sys_rand_get() which requires the entropy subsystem
zephyr_add_prj_conf("ENTROPY_GENERATOR", True)
# <err> os: ***** USAGE FAULT *****
# <err> os: Illegal load of EXC_RETURN into PC