Search found 3 matches

by tkvjkl
Mon Dec 26, 2022 7:57 pm
Forum: General Discussion
Topic: Unique build id for esp32
Replies: 5
Views: 2549

Re: Unique build id for esp32

The link you shared above take me to this page https://docs.espressif.com/projects/esp ... embed-data

Do you have a github page where I can see how you add data to the bin file ?
by tkvjkl
Fri Dec 23, 2022 7:49 pm
Forum: General Discussion
Topic: Unique build id for esp32
Replies: 5
Views: 2549

Re: Unique build id for esp32

That didn't work
I tried adding the following set(ESPTOOLPY_ELF2BIN "objcopy --only-keep-debug -O binary") to the cmakelist and I still do not see the GNU build id in the .bin file but I see it in the .elf file
by tkvjkl
Fri Dec 23, 2022 1:35 am
Forum: General Discussion
Topic: Unique build id for esp32
Replies: 5
Views: 2549

Unique build id for esp32

Hello I am trying to add a GNU build id to esp32. I added the option to the cmakelist and to .ld.in file I see the id in the els file but not the bin file. Is there a way to add the build id so that it shows up in the bin. set (CMAKE_EXE_LINKER_FLAGS "-Wl,--build-id=sha1") in the cmakelists .gnu_bui...