ESP32 + PlatformIO + Custom BL

I was researching a little bit in order to change the bootloader that comes within the espressif framework, for other with some others behaviors in comparison with the “stardard” one.
My idea is to build the pio project and in that process, pio uses my code.
I’ve red [1] that placing the source from the bootloader within components folder locally to my project, will work, but it didn’t.
Is it necesary to place some extra configuration within platformio.ini file?

[1]Espressif IoT Development Framework — PlatformIO latest documentation

Please ask on Issues · platformio/platform-espressif32 · GitHub with your reference project that doesn’t work.

Thanks! Done at Custom ESP-IDF Bootloader · Issue #613 · platformio/platform-espressif32 · GitHub