In which file would I find the include statements for inisetup.py and _boot.py? I did two "builds" if I am using that term correctly. These steps for V1.12:
Code: Select all
wget https://micropython.org/resources/source/micropython-1.12.tar.xz
tar xf micrpython-1.12.tar.xz
cd ~/micropython-1.12
make -C mpy-cross
cd ~/micropython-1.12/ports/esp8266/
make
Similar steps for the latest but I started by cloning the master repo --
https://github.com/micropython/micropython.git
I don't really understand the structure of the manifest files (and I didn't change them before building the firmware) but I compared the manifest.py and manifest_release.py between the latest and V1.12. The manifest.py file is the same and the manifest_release.py is similar but V1.12 includes:
Code: Select all
# uasyncio
freeze('$(MPY_LIB_DIR)/uasyncio', 'uasyncio/__init__.py')
freeze('$(MPY_LIB_DIR)/uasyncio.core', 'uasyncio/core.py')
But I don't see where inisetup.py and _boot.py are included in either version -- and V1.12 works while the build from latest does not.
I did try formatting the filesystem per @kevinkk525's suggestion using this:
Code: Select all
import os
import flashbdev
os.VfsFat.mkfs(flashbdev.bdev)
But no joy:
Code: Select all
Traceback (most recent call last):
File "<stdin>", line 3, in <module>
File "flashbdev.py", line 13, in readblocks
OSError: [Errno 5] EIO
I am wondering if I should be building from the daily snapshot (
https://micropython.org/resources/micro ... master.zip) rather than the master repo itself. Would this make a difference?
Thanks for your patience and help.
Evan