summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony DiCola <tony@tonydicola.com>2016-10-20 06:41:21 +0000
committerTony DiCola <tony@tonydicola.com>2016-10-20 06:41:21 +0000
commit5333f5f9871750a5dfe9e3f590c5c195ac5cba10 (patch)
tree4492f390716216f703e4d85ca90679873f900c0b
parent0cb0bd0f25a6feb8fee5938b6662861fd5e77792 (diff)
atmel-samd: Enable full urandom module from extmod.
-rw-r--r--atmel-samd/mpconfigport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/atmel-samd/mpconfigport.h b/atmel-samd/mpconfigport.h
index bcbdfca9f..f1a3094e4 100644
--- a/atmel-samd/mpconfigport.h
+++ b/atmel-samd/mpconfigport.h
@@ -52,6 +52,8 @@
#define MICROPY_PY_MATH (1)
#define MICROPY_PY_CMATH (1)
#define MICROPY_PY_IO (0)
+#define MICROPY_PY_URANDOM (1)
+#define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)
#define MICROPY_PY_STRUCT (1)
#define MICROPY_PY_SYS (1)
#define MICROPY_MODULE_FROZEN_MPY (1)