I have an esp-idf project for which I would like to compile two bin (firmware) files, each containing their own void app_main().
What I would like to have is something like this :
- main_app.c with my main application
- factory_app.c with a minimal application
- project_name.(bin|elf) as per usual
- factory_app.(bin|elf) as a 2nd esp-32 firmware for factory purpose