This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Description
I have previously submitted an issue #59,
and I have done some work on vfs_fat and oofatfs, now I can use C language to create, modify, or delete files. but still some information I want to confirm with you.
I tried to modify the boot.py in micropython-esp32\esp32\modules\inisetup.py. But it looks like it can not work.
def setup():
check_bootsec()
print("Performing initial setup")
uos.VfsFat.mkfs(bdev)
vfs = uos.VfsFat(bdev)
uos.mount(vfs, '/flash')
uos.chdir('/flash')
with open("boot.py", "w") as f:
f.write("import Undefined")
with open("main.py", "w") as f2:
f2.write("import Undefined2")
return vfs
It expect to have the following log after startup, But it seems there have no boot.py been executed.
Traceback (most recent call last):
File "boot.py", line 3, in <module>
ImportError: no module named 'Undefined'
Have you tested the implementation of boot.py or main.py with python?