Imported a project from github repo build fails close to the end with this error:
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated C:/Espressif/PS2/esp32-bt2ps2/build/bootloader/bootloader.bin
[111/111] C:\WINDOWS\system32\cmd.exe /C "cd /D C:\Espressif\PS2\esp32-bt2ps2\build\bootloader\esp-idf\esptool_py && C:\Espressif\python_env\idf5.4_py3.11_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v5.4/components/partition_table/check_sizes.py --offset 0x9000 bootloader 0x1000 C:/Espressif/PS2/esp32-bt2ps2/build/bootloader/bootloader.bin"
Bootloader binary size 0x6560 bytes. 0x1aa0 bytes (21%) free.
[1310/1312] Linking CXX executable esp32-bt2ps2.elf
FAILED: esp32-bt2ps2.elf
Have tried re-installing EDP-IDF and it is the latest version.Tried chat gpt and searching online for similar errors. The project is a bluetooth to Ps2 adapter based on ESP32. Help appreciated. Thanks in advance.
Imported a project from github repo build fails close to the end with this error:
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated C:/Espressif/PS2/esp32-bt2ps2/build/bootloader/bootloader.bin
[111/111] C:\WINDOWS\system32\cmd.exe /C "cd /D C:\Espressif\PS2\esp32-bt2ps2\build\bootloader\esp-idf\esptool_py && C:\Espressif\python_env\idf5.4_py3.11_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v5.4/components/partition_table/check_sizes.py --offset 0x9000 bootloader 0x1000 C:/Espressif/PS2/esp32-bt2ps2/build/bootloader/bootloader.bin"
Bootloader binary size 0x6560 bytes. 0x1aa0 bytes (21%) free.
[1310/1312] Linking CXX executable esp32-bt2ps2.elf
FAILED: esp32-bt2ps2.elf
Have tried re-installing EDP-IDF and it is the latest version.Tried chat gpt and searching online for similar errors. The project is a bluetooth to Ps2 adapter based on ESP32. Help appreciated. Thanks in advance.
Share Improve this question asked Mar 6 at 10:09 Clive BunchClive Bunch 11 bronze badge1 Answer
Reset to default 0I have (almost) solved this myself. I used an early version of the provided code and it compiled.
The project is now working and I will look at the latest code to try and identify the problem.