From ef00048fed079c922a4e2bc9ce854cc3824e2bfc Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 3 Jul 2019 12:55:57 +1000 Subject: extmod/modwebrepl: Add config option to put filebuf[512] on stack/bss. Since the esp8266 has a small stack this buffer is kept in the BSS. --- ports/esp8266/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ports') diff --git a/ports/esp8266/mpconfigport.h b/ports/esp8266/mpconfigport.h index 03be59b06..3bf822028 100644 --- a/ports/esp8266/mpconfigport.h +++ b/ports/esp8266/mpconfigport.h @@ -90,6 +90,7 @@ #define MICROPY_PY_UWEBSOCKET (1) #define MICROPY_PY_WEBREPL (1) #define MICROPY_PY_WEBREPL_DELAY (20) +#define MICROPY_PY_WEBREPL_STATIC_FILEBUF (1) #define MICROPY_PY_FRAMEBUF (1) #define MICROPY_PY_MICROPYTHON_MEM_INFO (1) #define MICROPY_PY_OS_DUPTERM (2) -- cgit v1.2.3