micropython/ports/esp32/modules/_boot.py

13 lines
173 B
Python

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