af1ede930b
Fix couple places in startup scripts that still had "import uos". This would cause an exception when _boot.py was executed during startup.
15 lines
261 B
Python
15 lines
261 B
Python
import gc
|
|
gc.threshold((gc.mem_free() + gc.mem_alloc()) // 4)
|
|
from flashbdev import bdev
|
|
import storage
|
|
|
|
try:
|
|
if bdev:
|
|
vfs = storage.VfsFat(bdev)
|
|
storage.mount(vfs, '/')
|
|
except OSError:
|
|
import inisetup
|
|
inisetup.setup()
|
|
|
|
gc.collect()
|