Skip to content

gen_esp32part.exe generates .elf file with corrupted name, character lost #2196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Bascy opened this issue Dec 15, 2018 · 3 comments
Closed
Labels
Status: Stale Issue is stale stage (outdated/stuck)

Comments

@Bascy
Copy link
Contributor

Bascy commented Dec 15, 2018

Hardware:

Board: ESP32 Dev Module
Core Installation/update date: 26/nov/2018
IDE name: Eclipse Sloeber plugin
Computer OS: Windows 10

Description:

When building my project with commit 0496300 (Update IDF to a0468b2 (#2108)) the resulting .elf file of my project, generated by gen_esp32part.exe, has a strange name: csMaiMaster.elf in stead of csMainMaster.elf

The last step of the toolchain, esptools.exe fails because of this, as it cannot find the .elf file..
If I build with any earlier commit everything works fine and the filename is correct.

"D:\sloeber4.3\/arduinoPlugin/packages/arduino-esp32/tools/gen_esp32part.exe" -q "D:\sloeber4.3\/arduinoPlugin/packages/arduino-esp32/tools/partitions/min_spiffs.csv" "D:\C-Sense2.0\source\csMainMaster/Debug/csMainMaster.partitions.bin"
"D:\sloeber4.3\/arduinoPlugin/packages/arduino-esp32/tools/esptool/esptool.exe" --chip esp32 elf2image --flash_mode "dio" --flash_freq "80m" --flash_size "4MB" -o "D:\C-Sense2.0\source\csMainMaster/Debug/csMainMaster.bin" "D:\C-Sense2.0\source\csMainMaster/Debug/csMainMaster.elf"
esptool.py v2.5.0
makefile:107: recipe for target 'csMainMaster.hex' failed
Traceback (most recent call last):
  File "esptool.py", line 2849, in <module>
  File "esptool.py", line 2842, in _main
  File "esptool.py", line 2615, in main
  File "esptool.py", line 2159, in elf2image
  File "esptool.py", line 1709, in __init__
IOError: [Errno 2] No such file or directory: 'D:\\C-Sense2.0\\source\\csMainMaster/Debug/csMainMaster.elf'
Failed to execute script esptool
make: *** [csMainMaster.hex] Error -1

@Bascy Bascy changed the title .elf file is corrupted, character lost in name .elf file is created with corrupted name, character lost Dec 15, 2018
@Bascy Bascy changed the title .elf file is created with corrupted name, character lost gen_esp32part.exe generates .elf file with corrupted name, character lost Dec 15, 2018
@atanisoft
Copy link
Collaborator

gen_esp32part.exe doesn't generate the elf file, it would appear your makefile instead is not generating it correctly. I would also suggest open this up against Eclipse Sloeber instead of arduino-esp32.

@stale
Copy link

stale bot commented Aug 1, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale Issue is stale stage (outdated/stuck) label Aug 1, 2019
@stale
Copy link

stale bot commented Aug 15, 2019

This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale Issue is stale stage (outdated/stuck)
Projects
None yet
Development

No branches or pull requests

2 participants