aboutsummaryrefslogtreecommitdiff
path: root/ports/esp8266
diff options
context:
space:
mode:
authorDamien George2018-06-04 16:04:28 +1000
committerDamien George2018-06-12 12:29:26 +1000
commit565f590586e89d837db3add08b8c926560f88f8b (patch)
treee160dfb9da8f5381bc37990d5f7e6d9553443a96 /ports/esp8266
parentaf0932a7793478f0b90b754d38955d69700b0bee (diff)
ports: Enable IOBase on unix, stm32, esp8266 and esp32.
It's a core feature, in particular required for user-streams with uasyncio.
Diffstat (limited to 'ports/esp8266')
-rw-r--r--ports/esp8266/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/esp8266/mpconfigport.h b/ports/esp8266/mpconfigport.h
index 8a800f017..97b309086 100644
--- a/ports/esp8266/mpconfigport.h
+++ b/ports/esp8266/mpconfigport.h
@@ -56,6 +56,7 @@
#define MICROPY_PY_MATH (1)
#define MICROPY_PY_CMATH (0)
#define MICROPY_PY_IO (1)
+#define MICROPY_PY_IO_IOBASE (1)
#define MICROPY_PY_IO_FILEIO (1)
#define MICROPY_PY_STRUCT (1)
#define MICROPY_PY_SYS (1)