summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2023-04-21 14:51:21 +0200
committerDamien George <damien@micropython.org>2023-05-09 16:13:27 +1000
commitfacc51f3ea6acc83fcc54effe5d4826ef07f4e4f (patch)
tree3b035f701d76cfe2be04b29774d16768db862374
parenta3f3b9045cd515022b13a96baf371d40e0f9faad (diff)
mimxrt/mpconfigport: Add back lost uos.urandom().
It got lost in a clean-up session recently.
-rw-r--r--ports/mimxrt/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/mimxrt/mpconfigport.h b/ports/mimxrt/mpconfigport.h
index 1dd7711ef..f4732da39 100644
--- a/ports/mimxrt/mpconfigport.h
+++ b/ports/mimxrt/mpconfigport.h
@@ -77,6 +77,7 @@ uint32_t trng_random_u32(void);
#define MICROPY_PY_OS_DUPTERM (3)
#define MICROPY_PY_UOS_DUPTERM_NOTIFY (1)
#define MICROPY_PY_UOS_UNAME (1)
+#define MICROPY_PY_UOS_URANDOM (1)
#define MICROPY_PY_URANDOM_SEED_INIT_FUNC (trng_random_u32())
#define MICROPY_PY_MACHINE (1)
#define MICROPY_PY_MACHINE_PIN_MAKE_NEW mp_pin_make_new