summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-05-13 23:49:21 +0100
committerDamien George <damien.p.george@gmail.com>2015-05-24 14:31:33 +0100
commit3c4b5d42817944438c16fe6f1c70447ffc751110 (patch)
tree7a8c50e63ffda480a91a86245bc6aba02c5b0587 /py/qstrdefs.h
parent968b7dd173d58d917c18dfa7706087db2abcfa6c (diff)
downloadmicropython-3c4b5d42817944438c16fe6f1c70447ffc751110.tar.gz
micropython-3c4b5d42817944438c16fe6f1c70447ffc751110.zip
stmhal: Implement sys.std{in,out,err}.buffer, for raw byte mode.
It's configurable and only enabled for stmhal port.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index 4b5218eb5c..2f51d470dd 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -448,6 +448,9 @@ Q(platform)
Q(stdin)
Q(stdout)
Q(stderr)
+#if MICROPY_PY_SYS_STDIO_BUFFER
+Q(buffer)
+#endif
Q(version)
Q(version_info)
#if MICROPY_PY_ATTRTUPLE