Hello good people of Espia
I am trying to make a standalone image which i could flash on another person computer (upload and remotely flash the connected device...), using windows 10, esp-idf v4.2, python 3.7, the program compiles and debug is working, also idf.py build is working correctly
Is using the esptool the way to go? also, in case a fix is not available at hand, is there another way to perform the operation?
Big thanks
esptool.exe --chip esp32 make_image wifi_station.elf
esptool.py v2.8
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\SysGCC\esp32\python_env\idf4.2_py3.7_env\Scripts\esptool.exe\__main__.py", line 7, in <module>
File "c:\sysgcc\esp32\python_env\idf4.2_py3.7_env\lib\site-packages\esptool.py", line 3194, in _main
main()
File "c:\sysgcc\esp32\python_env\idf4.2_py3.7_env\lib\site-packages\esptool.py", line 2965, in main
operation_func(args)
File "c:\sysgcc\esp32\python_env\idf4.2_py3.7_env\lib\site-packages\esptool.py", line 2453, in make_image
if len(args.segfile) == 0:
TypeError: object of type 'NoneType' has no len()
esptool make_image python error
Re: esptool make_image python error
Any replies would be very much appreciated, is there another way to approach the matter in question? thank you
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: esptool make_image python error
Hi mazorsk,
Here is the documentation for make_image: https://github.com/espressif/esptool/wi ... make_image
Please try elf2image instead: https://github.com/espressif/esptool#co ... -elf2image
Here is the documentation for make_image: https://github.com/espressif/esptool/wi ... make_image
Please try elf2image instead: https://github.com/espressif/esptool#co ... -elf2image
Who is online
Users browsing this forum: No registered users and 192 guests