We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e0273f commit b621de7Copy full SHA for b621de7
src/codal_port/mpconfigport.h
@@ -81,6 +81,7 @@
81
#define MICROPY_PY_UERRNO (1)
82
#define MICROPY_PY_UTIME_MP_HAL (1)
83
#define MICROPY_PY_URANDOM (1)
84
+#define MICROPY_PY_URANDOM_SEED_INIT_FUNC (rng_generate_random_word())
85
#define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)
86
#define MICROPY_PY_MACHINE (1)
87
#define MICROPY_PY_MACHINE_PULSE (1)
@@ -156,4 +157,7 @@ typedef long mp_off_t;
156
157
// We need to provide a declaration/definition of alloca()
158
#include <alloca.h>
159
160
+// Needed for MICROPY_PY_URANDOM_SEED_INIT_FUNC.
161
+extern uint32_t rng_generate_random_word(void);
162
+
163
#endif
0 commit comments