Are you considering using the esp-idf?
<a href="https://github.com/espressif/esp-idf" rel="nofollow">https://github.com/espressif/esp-idf</a><p>I'm developing a product based on the esp32. Once I got my mind around the IDF, it handles a lot of the productization element.<p>Specifically it has a means for handling config at compile time, allowing for more flexibility without the need for a new version of the code per update.