aboutsummaryrefslogtreecommitdiff
path: root/ports/unix
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/unix
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/unix')
-rw-r--r--ports/unix/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/unix/mpconfigport.h b/ports/unix/mpconfigport.h
index 016dabf9f..e0f9d9995 100644
--- a/ports/unix/mpconfigport.h
+++ b/ports/unix/mpconfigport.h
@@ -104,6 +104,7 @@
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
#endif
#define MICROPY_PY_CMATH (1)
+#define MICROPY_PY_IO_IOBASE (1)
#define MICROPY_PY_IO_FILEIO (1)
#define MICROPY_PY_GC_COLLECT_RETVAL (1)
#define MICROPY_MODULE_FROZEN_STR (1)