Is it possible to check for correct architecture on OTA update (ESP32 or ESP8266)?
I assume you are the one creating the OTA update.  If so, then why don't you just include a &quot;signature&quot; in the code that is the architecture, i.e. ESP8266 vs. ESP32 and then check for that in your updater code so that it will not install an update for the wrong CPU.