It probably doesn't apply to StackChan firmwares but in some very specific situations it is also possible to store the menu on a factory partition.
if( SDUpdater::saveSketchToFactory() ) {
// sketch was just saved to factory partition, this is only triggered once
SDUpdater::loadFactory(); // will restart on success
log_e("Switching to factory app failed :-(");
}
esp32-arduino-core 2.0.14 and upper versions come with two examples of special partition schemes for M5CoreS3:
As an example, the SecuriSuite application in M5Burner is built with that special partition scheme, and uses M5CoreS3-FW-Launcher.bin as the menu.
Hi and thanks for documenting this :heart:
It probably doesn't apply to StackChan firmwares but in some very specific situations it is also possible to store the menu on a factory partition.
esp32-arduino-core 2.0.14 and upper versions come with two examples of special partition schemes for M5CoreS3:
As an example, the
SecuriSuite
application in M5Burner is built with that special partition scheme, and uses M5CoreS3-FW-Launcher.bin as the menu.