mirror of
https://github.com/W3SLAV/micropython.git
synced 2025-06-19 12:05:32 -04:00
16 lines
225 B
Python
16 lines
225 B
Python
import gc
|
|
|
|
gc.threshold((gc.mem_free() + gc.mem_alloc()) // 4)
|
|
import vfs
|
|
from flashbdev import bdev
|
|
|
|
if bdev:
|
|
try:
|
|
vfs.mount(bdev, "/")
|
|
except:
|
|
import inisetup
|
|
|
|
inisetup.setup()
|
|
|
|
gc.collect()
|