error boot_fat.py #15707
Answered
by
shariltumin
Arie1956
asked this question in
RP2040 / Pico
error boot_fat.py
#15707
-
Can someone tell me what is in line 12 of boot_fat.py? MPY: soft reboot Have searched the internet without luck |
Beta Was this translation helpful? Give feedback.
Answered by
shariltumin
Aug 24, 2024
Replies: 1 comment 1 reply
-
This is the contents of the "_boot_fat.py" file: import vfs
import machine, rp2
# Try to mount the filesystem, and format the flash if it doesn't exist.
bdev = rp2.Flash()
try:
fs = vfs.VfsFat(bdev)
except:
vfs.VfsFat.mkfs(bdev)
fs = vfs.VfsFat(bdev)
vfs.mount(fs, "/")
del vfs, bdev, fs It seems that you may have a problem with your flash. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Arie1956
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the contents of the "_boot_fat.py" file:
It seems that you may have a problem with your flash.