Leads to less fragmentation at teh time user code starts.
@ -1,3 +1,4 @@
import gc
import uos
from flashbdev import bdev
@ -7,3 +8,5 @@ try:
except OSError:
import inisetup
vfs = inisetup.setup()
gc.collect()
@ -40,7 +40,9 @@ def setup():
with open("/boot.py", "w") as f:
f.write("""\
# This file is executed on every boot (including wake-boot from deepsleep)
#import webrepl
#webrepl.start()
""")
return vfs