Hard coded path

dalvikvm
Posts: 3
Joined: Wed Mar 14, 2018 7:05 am

Hard coded path

Postby dalvikvm » Sun Jul 14, 2019 12:15 pm

Full path and username is included (I'm guessing the person who compiled the source).
Image

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Hard coded path

Postby ESP_Angus » Mon Jul 15, 2019 2:43 am

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

Who is online

Users browsing this forum: No registered users and 27 guests