summaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 560fdce9c..5065e3682 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -594,6 +594,11 @@ typedef double mp_float_t;
#define MICROPY_PY_SYS_STDFILES (0)
#endif
+// Whether to provide sys.{stdin,stdout,stderr}.buffer object
+// This is implemented per-port
+#ifndef MICROPY_PY_SYS_STDIO_BUFFER
+#define MICROPY_PY_SYS_STDIO_BUFFER (0)
+#endif
// Extended modules