summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-23 20:10:52 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-23 20:12:33 +0300
commit0fe825b89e9c6a2a0e379ca61156f8b47f56b333 (patch)
treec27050affd3dbe3c5c0a2e71bb88bfa7be1a003b /esp8266
parent46b849ab49b88ef1516b9c3b07859f54ed347676 (diff)
downloadmicropython-0fe825b89e9c6a2a0e379ca61156f8b47f56b333.tar.gz
micropython-0fe825b89e9c6a2a0e379ca61156f8b47f56b333.zip
esp8266: Enable MICROPY_ENABLE_FINALISER.
GC finalization should be enabled for modlwip, or it may lead to GC problems with socket objects. This decreases usable heap size from 36288 to 35968 (-320) bytes.
Diffstat (limited to 'esp8266')
-rw-r--r--esp8266/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index 8567af47b2..f7df435773 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -17,6 +17,7 @@
#define MICROPY_DEBUG_PRINTER_DEST mp_debug_print
#define MICROPY_READER_VFS (MICROPY_VFS)
#define MICROPY_ENABLE_GC (1)
+#define MICROPY_ENABLE_FINALISER (1)
#define MICROPY_STACK_CHECK (1)
#define MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF (1)
#define MICROPY_KBD_EXCEPTION (1)