micropython/ports/esp32/modules/_boot.py

14 lines
172 B
Python

import gc
import os
from flashbdev import bdev
try:
if bdev:
os.mount(bdev, "/")
except OSError:
import inisetup
vfs = inisetup.setup()
gc.collect()