最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Build error compiling github project in Visual Studio Code with ESP-IDF extension - Stack Overflow

programmeradmin0浏览0评论

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 badge
Add a comment  | 

1 Answer 1

Reset to default 0

I 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.

发布评论

评论列表(0)

  1. 暂无评论