esphome / esp-web-tools

Open source tools to allow working with ESP devices in the browser
https://esphome.github.io/esp-web-tools/
Apache License 2.0
450 stars 120 forks source link

Is it possible to flash esp-c6? #497

Open BasBaas08 opened 7 months ago

BasBaas08 commented 7 months ago

There is a issue mensioning there should be support for the ESP32-C6 SoC in the latest version. But when i try, it says the board is unsupported. is this a known issue?

the issue metioning it shoudld be possible: https://github.com/esphome/esp-web-tools/issues/455

jonasniesner commented 1 month ago

Yes, you can flash an esp32-C6

BasBaas08 commented 1 month ago

Schermafbeelding 2024-09-29 235109

wcsec commented 1 month ago

tl;dr: no. I would recommend raising an Issue at esphome/firmware for ESP32C6 support.

From README.md:

<esp-web-install-button
  manifest="firmware_esphome/manifest.json"
></esp-web-install-button>

If you inspect the JSON at https://firmware.esphome.io/esp-web-tools/manifest.json:

      "chipFamily": "ESP32",
      "chipFamily": "ESP32-C3",
      "chipFamily": "ESP32-S2",
      "chipFamily": "ESP32-S3",
      "chipFamily": "ESP8266",

It'd be cool for this project to read this manifest again and display to the user which ESPs it supports, without requiring them to click on the flash button - it would save issues like this from being raised.

BasBaas08 commented 1 month ago

I was told that esp-web-tools uses esp-idf 4.4, and support for esp32c6 doesn't start until 5.0. So it's more of a question of when it will be updated to 5.0+. (I don't know if this is 100% accurate but it schould give some context atleast.)

The site problably uses esptool-js, not esp-idf, but it's likely the same thing, that it is not up-to-date.