Describe the bug
Esp-idf projects fail to link that have multiple files.
Bug confirmed on discord: https://discord.com/channels/787627282663211009/1109794342513672222/threads/1402834319369834516
To Reproduce
Here's a minimal reproduction. I forked the official wokwi ESP-IDF FreeRTOS blinker project and simply moved the blinker code from main.c to blinker.c/h and it fails to link.
https://wokwi.com/projects/438589876278733825