summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2016-10-20 09:20:18 -0700
committerGitHub <noreply@github.com>2016-10-20 09:20:18 -0700
commit2cc1b25eef304426035b912141ad77c2d0f6903a (patch)
tree4492f390716216f703e4d85ca90679873f900c0b
parent0cb0bd0f25a6feb8fee5938b6662861fd5e77792 (diff)
parent5333f5f9871750a5dfe9e3f590c5c195ac5cba10 (diff)
Merge pull request #24 from adafruit/urandom
atmel-samd: Enable full urandom module from extmod. Closes #17.
-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)