aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32
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/stm32
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/stm32')
-rw-r--r--ports/stm32/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h
index 89a43f3bb..a038664e8 100644
--- a/ports/stm32/mpconfigport.h
+++ b/ports/stm32/mpconfigport.h
@@ -108,6 +108,7 @@
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
#define MICROPY_PY_CMATH (1)
#define MICROPY_PY_IO (1)
+#define MICROPY_PY_IO_IOBASE (1)
#define MICROPY_PY_IO_FILEIO (MICROPY_VFS_FAT) // because mp_type_fileio/textio point to fatfs impl
#define MICROPY_PY_SYS_MAXSIZE (1)
#define MICROPY_PY_SYS_EXIT (1)