summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/mpconfigport.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-02-15 17:45:36 +1100
committerDamien George <damien.p.george@gmail.com>2017-03-20 15:20:26 +1100
commit1b7d67266df7dd0853698726e98d63b4aeebe205 (patch)
tree59ef8880c23b1587585d5a6c4dce0fa21f708513 /esp8266/mpconfigport.h
parenta5159edc2090a5670c33a829d7e54ab2ba8635c4 (diff)
downloadmicropython-1b7d67266df7dd0853698726e98d63b4aeebe205.tar.gz
micropython-1b7d67266df7dd0853698726e98d63b4aeebe205.zip
esp8266: Enable micropython.schedule() with locking in pin callback.
Diffstat (limited to 'esp8266/mpconfigport.h')
-rw-r--r--esp8266/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index cf4cbecd40..07bd48f679 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -28,6 +28,7 @@
#define MICROPY_MODULE_WEAK_LINKS (1)
#define MICROPY_CAN_OVERRIDE_BUILTINS (1)
#define MICROPY_USE_INTERNAL_ERRNO (1)
+#define MICROPY_ENABLE_SCHEDULER (1)
#define MICROPY_PY_ALL_SPECIAL_METHODS (1)
#define MICROPY_PY_BUILTINS_COMPLEX (0)
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)