esptool error when building esp8266
Posted: Tue Jan 07, 2020 2:43 pm
Dear Team,
I am trying to build the esp8266 module using WSL on windows 10 Home. I was successfully able to build the esp-open-sdk using python 3.7 following the readme in it. I updated the "print" statements in esptool.py to run with Python 3.
I was also able to compile mpy-corss , but when I try to do a make in the ports/esp8266 directory, it fails at the very last step with the below error.
Traceback (most recent call last):
File "/home/dcj/esp-open-sdk/xtensa-lx106-elf/bin/esptool.py", line 1270, in <module>
main()
File "/home/dcj/esp-open-sdk/xtensa-lx106-elf/bin/esptool.py", line 1183, in main
operation_func(args)
File "/home/dcj/esp-open-sdk/xtensa-lx106-elf/bin/esptool.py", line 925, in elf2image
image.add_segment(e.get_symbol_addr(start), data)
File "/home/dcj/esp-open-sdk/xtensa-lx106-elf/bin/esptool.py", line 521, in get_symbol_addr
return self.symbols[sym]
KeyError: '_text_start'
Makefile:208: recipe for target
I was not able to find any information with regard to the above error on the esp-tool-sdk github.
https://github.com/pfalcon/esp-open-sdk
I did go through this post as well,
viewtopic.php?f=15&t=7136&p=40598&hilit=_text_#p40598
Thanks
dcj
I am trying to build the esp8266 module using WSL on windows 10 Home. I was successfully able to build the esp-open-sdk using python 3.7 following the readme in it. I updated the "print" statements in esptool.py to run with Python 3.
I was also able to compile mpy-corss , but when I try to do a make in the ports/esp8266 directory, it fails at the very last step with the below error.
Traceback (most recent call last):
File "/home/dcj/esp-open-sdk/xtensa-lx106-elf/bin/esptool.py", line 1270, in <module>
main()
File "/home/dcj/esp-open-sdk/xtensa-lx106-elf/bin/esptool.py", line 1183, in main
operation_func(args)
File "/home/dcj/esp-open-sdk/xtensa-lx106-elf/bin/esptool.py", line 925, in elf2image
image.add_segment(e.get_symbol_addr(start), data)
File "/home/dcj/esp-open-sdk/xtensa-lx106-elf/bin/esptool.py", line 521, in get_symbol_addr
return self.symbols[sym]
KeyError: '_text_start'
Makefile:208: recipe for target
I was not able to find any information with regard to the above error on the esp-tool-sdk github.
https://github.com/pfalcon/esp-open-sdk
I did go through this post as well,
viewtopic.php?f=15&t=7136&p=40598&hilit=_text_#p40598
Thanks
dcj