micropython/ports/esp8266/boards/GENERIC_512K/_boot.py

4 lines
63 B
Python

import gc
gc.threshold((gc.mem_free() + gc.mem_alloc()) // 4)