How to find unsatisfied references in idf.py build process

krector
Posts: 3
Joined: Thu Apr 25, 2019 2:36 am

How to find unsatisfied references in idf.py build process

Postby krector » Mon Mar 14, 2022 7:44 pm

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.

ESP_Sprite
Posts: 9708
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Tue Mar 15, 2022 2:26 am

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.

Who is online

Users browsing this forum: Baidu [Spider] and 80 guests