db80c0ed46
To start with, the critical scripts _boot.py and flashbdev.py are frozen to improve performance and reduce RAM consumption. Saves about 1000 bytes of heap RAM for a bare boot with filesystem.
10 lines
155 B
Python
10 lines
155 B
Python
import uos
|
|
from flashbdev import bdev
|
|
|
|
try:
|
|
if bdev:
|
|
vfs = uos.VfsFat(bdev, "")
|
|
except OSError:
|
|
import inisetup
|
|
vfs = inisetup.setup()
|