diff --git a/python/port/mpconfigport.h b/python/port/mpconfigport.h index 4920502ae..9976b2b85 100644 --- a/python/port/mpconfigport.h +++ b/python/port/mpconfigport.h @@ -55,6 +55,8 @@ #define MICROPY_CPYTHON_COMPAT (0) #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE) +#define MICROPY_PY_URANDOM (1) +#define MICROPY_PY_URANDOM_EXTRA_FUNCS (1) #define MICROPY_VM_HOOK_LOOP micropython_port_should_interrupt();