From 5333f5f9871750a5dfe9e3f590c5c195ac5cba10 Mon Sep 17 00:00:00 2001 From: Tony DiCola Date: Thu, 20 Oct 2016 06:41:21 +0000 Subject: [PATCH] atmel-samd: Enable full urandom module from extmod. --- atmel-samd/mpconfigport.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/atmel-samd/mpconfigport.h b/atmel-samd/mpconfigport.h index bcbdfca9ff..f1a3094e49 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)