summaryrefslogtreecommitdiff
path: root/ports/esp8266/boards/ESP8266_GENERIC/_boot.py
blob: 16da8bc4c37505130ff15528160ee04c659a645f (plain)
1
2
3
4
5
6
# Minimal _boot.py for the 512kiB variant. Does not set up a block device or
# filesystem. Other variants use esp8266/modules/_boot.py.

import gc

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