Page 1 of 1

ESP-ADF compiled binary includes file path of host machine

Posted: Wed Jan 25, 2023 6:48 am
by Dsalg2022
Hello,

I was using ESP-IDF v4.4 and ESP-ADF v2.4.

If I compile a project on my test computer and then look at the .bin file, there are a few places where esp-adf source file "c:\xxx is included. This means I would not be able to take the same source, compile on different machines and get the same binary. That is a huge drawback in terms of supporting software builds. Is there a way to make the file path's relative instead of absolute, in the binary?

Re: ESP-ADF compiled binary includes file path of host machine

Posted: Mon Feb 13, 2023 10:48 pm
by felixcollins
Have you tried building a release build that excludes debug information?