From 1dff67b6e873fc1220bba58c93d2126998d25bea Mon Sep 17 00:00:00 2001 From: Rahix <rahix@rahix.de> Date: Mon, 11 Nov 2019 19:51:40 +0100 Subject: [PATCH] feat(pycardium): Enable input() builtin Enable the input() builtin which allows reading from the serial console. Signed-off-by: Rahix <rahix@rahix.de> --- pycardium/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/pycardium/mpconfigport.h b/pycardium/mpconfigport.h index 767a69fb..a5c3456c 100644 --- a/pycardium/mpconfigport.h +++ b/pycardium/mpconfigport.h @@ -31,6 +31,7 @@ int mp_hal_trng_read_int(void); #define MICROPY_PY_ALL_SPECIAL_METHODS (1) #define MICROPY_PY_BUILTINS_HELP (1) #define MICROPY_PY_BUILTINS_HELP_MODULES (1) +#define MICROPY_PY_BUILTINS_INPUT (1) #define MICROPY_PY_UBINASCII (1) #define MICROPY_PY_UHEAPQ (1) #define MICROPY_PY_UJSON (1) -- GitLab