mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 17:30:41 +02:00
14 lines
174 B
Python
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()
|