Skip to content

Commit

Permalink
Fix name of xt-readelf when using xtensa toolchain not gnu binutils
Browse files Browse the repository at this point in the history
  • Loading branch information
projectgus committed Aug 30, 2015
1 parent 096c8ca commit d0d6c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esptool.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def get_symbol_addr(self, sym):
def get_entry_point(self):
tool_readelf = "xtensa-lx106-elf-readelf"
if os.getenv('XTENSA_CORE')=='lx106':
tool_objcopy = "xt-readelf"
tool_readelf = "xt-readelf"
try:
proc = subprocess.Popen([tool_readelf, "-h", self.name], stdout=subprocess.PIPE)
except OSError:
Expand Down

0 comments on commit d0d6c5f

Please sign in to comment.