Skip to content

Commit 0fe825b

Browse files
committed
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.
1 parent 46b849a commit 0fe825b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

esp8266/mpconfigport.h

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#define MICROPY_DEBUG_PRINTER_DEST mp_debug_print
1818
#define MICROPY_READER_VFS (MICROPY_VFS)
1919
#define MICROPY_ENABLE_GC (1)
20+
#define MICROPY_ENABLE_FINALISER (1)
2021
#define MICROPY_STACK_CHECK (1)
2122
#define MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF (1)
2223
#define MICROPY_KBD_EXCEPTION (1)

0 commit comments

Comments
 (0)