'ESP32 Swap partitions

I would like to know if there is a way to swap two partitions of an esp32 to choose which program to run at startup Like the Over The Air system can do in a little more developed way

If someone have any idea ?

Thank you in advance



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source