Commit 686367dc authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

esp8266: Explicitly collect garbage in bootstrap scripts.

Leads to less fragmentation at teh time user code starts.
parent 417dc0c0
import gc
import uos
from flashbdev import bdev
......@@ -7,3 +8,5 @@ try:
except OSError:
import inisetup
vfs = inisetup.setup()
......@@ -40,7 +40,9 @@ def setup():
with open("/", "w") as f:
# This file is executed on every boot (including wake-boot from deepsleep)
import gc
#import webrepl
return vfs
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment