esptool.js and friends have the ability to detect the connect ESP's silicon type based on a magic value transferred during the handshake.
We should use it to filter what options are shown in the drop-down, as users can happily flash an ESP32-S3 binary to a base ESP32, and visa versa.
https://github.com/espressif/esptool-js/blob/9de1d0d8673f8ef05fdf9bcbd1d39f37c2ec9690/src/esploader.ts#L1339
esptool.js and friends have the ability to detect the connect ESP's silicon type based on a magic value transferred during the handshake.
We should use it to filter what options are shown in the drop-down, as users can happily flash an ESP32-S3 binary to a base ESP32, and visa versa.
https://github.com/espressif/esptool-js/blob/9de1d0d8673f8ef05fdf9bcbd1d39f37c2ec9690/src/esploader.ts#L1339