Page 1 of 1

How to find unsatisfied references in idf.py build process

Posted: Mon Mar 14, 2022 7:44 pm
by krector
I use idf.py build to build my project and the .elf and .map files are created ok and the flash runs with no error.

However, I know there are unsatisfied references in the code but they are not shown in the build output listing.

I cannot find them in the .map file or using nm on the .elf file.

How am I to learn of these errors during the build process.

Re: How to find unsatisfied references in idf.py build process

Posted: Tue Mar 15, 2022 2:26 am
by ESP_Sprite
Are you sure these unsatisfied references are in code that is actually compiled into the final binary? If it's not, the linker will discard that code entirely, unsatisfied references and all.