aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorDamien George2019-07-03 12:55:57 +1000
committerDamien George2019-07-03 12:55:57 +1000
commitef00048fed079c922a4e2bc9ce854cc3824e2bfc (patch)
tree05ab4e7b127c9959eec6ae31ce149358d5781772 /ports
parentfa2c7ece8f0c48cab77098f8f4ffe940c459dfee (diff)
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.
Diffstat (limited to 'ports')
-rw-r--r--ports/esp8266/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
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)