Intentaré evitar-ho perquè aturar l'execució és feixuc, tot i què he investigat com fer-ho i sembla que m'he sortit 👉
https://techexplorations.com/guides/esp32/micropython-with-the-esp32/16-how-to-run-a-program-at-boot/
https://youtu.be/oBRZ3MBhpig
https://www.sketching-with-hardware.org/wiki/Tutorial_AutoRun