circuitpython/ports/esp32/modules/flashbdev.py

5 lines
118 B
Python

from esp32 import Partition
bdev = Partition.find(Partition.TYPE_DATA, label="vfs")
bdev = bdev[0] if bdev else None