mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
alif/mpconfigport: Enable os.urandom().
Uses the SE services to provide random numbers. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -87,10 +87,12 @@
|
||||
|
||||
// Extended modules
|
||||
#define MICROPY_EPOCH_IS_1970 (1)
|
||||
#define MICROPY_PY_OS_INCLUDEFILE "ports/alif/modos.c"
|
||||
#define MICROPY_PY_OS_DUPTERM (1)
|
||||
#define MICROPY_PY_OS_SEP (1)
|
||||
#define MICROPY_PY_OS_SYNC (1)
|
||||
#define MICROPY_PY_OS_UNAME (1)
|
||||
#define MICROPY_PY_OS_URANDOM (1)
|
||||
#define MICROPY_PY_TIME (1)
|
||||
#define MICROPY_PY_MACHINE (1)
|
||||
#define MICROPY_PY_MACHINE_INCLUDEFILE "ports/alif/modmachine.c"
|
||||
|
||||
Reference in New Issue
Block a user