Add pico_rand library (#1111)

Add a general purpose random number generator via pico_rand library. which tries to use as much real entropy as possible mixed into a PRNG

Co-authored-by: graham sanderson <graham.sanderson@raspberrypi.com>
This commit is contained in:
andygpz11
2023-01-26 19:25:27 +00:00
committed by GitHub
parent 67af83f069
commit b70f984f2a
12 changed files with 505 additions and 42 deletions

View File

@ -40,6 +40,7 @@ target_link_libraries(kitchen_sink_libs INTERFACE
pico_time
pico_unique_id
pico_util
pico_rand
)
add_library(kitchen_sink_options INTERFACE)

View File

@ -47,6 +47,7 @@
#include "pico/sync.h"
#include "pico/time.h"
#include "pico/unique_id.h"
#include "pico/rand.h"
#if LIB_PICO_CYW43_ARCH
#include "pico/cyw43_arch.h"
#endif