circuitpython/ports/esp32/modules/_boot.py

14 lines
174 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()