Page 1 of 1

Hard coded path

Posted: Sun Jul 14, 2019 12:15 pm
by dalvikvm
Full path and username is included (I'm guessing the person who compiled the source).
Image

Re: Hard coded path

Posted: Mon Jul 15, 2019 2:43 am
by ESP_Angus
Hi dalvikvm,

Assertion failures will print __FILE__ which is the path of the source file as it was compiled. If you compiled the ESP-IDF project yourself, this will be a path on your system. If ESP-IDF libraries were precompiled by someone else, this will be a path on their system.

There is an option to set the assertion level to "Silent", which will also save some code size. In this case the failed instruction address is still printed, but the original firmware ELF file is needed to convert this to a file name and line number:
https://docs.espressif.com/projects/esp ... tion-level

Does this information explain what you're seeing?

Angus