From 11fc6553e831885d993c8a6c09ae98aa74fdf6b7 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 11 Oct 2016 16:22:21 +1100 Subject: [PATCH] esp8266: Enable sys.{stdin,stdout,stderr}.buffer for raw serial access. --- esp8266/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h index 5f65e920f1..ee32a848d0 100644 --- a/esp8266/mpconfigport.h +++ b/esp8266/mpconfigport.h @@ -50,6 +50,7 @@ #define MICROPY_PY_SYS_MAXSIZE (1) #define MICROPY_PY_SYS_EXIT (1) #define MICROPY_PY_SYS_STDFILES (1) +#define MICROPY_PY_SYS_STDIO_BUFFER (1) #define MICROPY_PY_UERRNO (1) #define MICROPY_PY_UBINASCII (1) #define MICROPY_PY_UCTYPES (1)