summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-01-03 07:19:04 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-03-23 16:15:49 +0200
commit494aea3e863448d590188b703a20f011c9005b39 (patch)
tree73b88bb92575b0922ee8e9e5b5733387f74e0ee8 /esp8266
parent5bc9398d9d803ce554c121ae02bd4bd5c7ea8089 (diff)
downloadmicropython-494aea3e863448d590188b703a20f011c9005b39.tar.gz
micropython-494aea3e863448d590188b703a20f011c9005b39.zip
esp8266: Enable non-blocking stream support.
Diffstat (limited to 'esp8266')
-rw-r--r--esp8266/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index 5aea7b7aee..2197bd06f4 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -54,6 +54,7 @@
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_TERSE)
+#define MICROPY_STREAMS_NON_BLOCK (1)
#define MICROPY_MODULE_FROZEN (1)
#define MICROPY_MODULE_FROZEN_LEXER mp_lexer_new_from_str32