-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Allow more than one firmware for each chip, with menu #552
Comments
Why not providing the different firmware variants in the menu? |
It feels like as we have the manifest and we list all different kinds of hardware in there, it would be a nice addition to allow different hardware with the same chips.
|
So what you're asking for is essentially a feature to "detect" the chip and trigger some update of the selector on the page. Possible issue I'm seeing is that you may need to turn the ESP into flashing mode to let the detection run which is also running to select the right part from the manifest. Would be a nice feature though, but I have absolutely no idea how much effort it would take to implement this extra hook. |
Well, more to use an esp-web-tools provided menu, rather than updating something on the website... Detecting the chip is done currently when you click https://github.com/esphome/esp-web-tools/blob/main/src/flash.ts#L69 You instead check if more than one matches and show a menu to select which one to use:
There's already the menu at startup (showing I'm not sure how easy that is to reuse, but I guess I'd imagined something very similar could be done showing all the names of firmwares that match chipFamily in |
esp-web-tools has been great at allowing users to easily flash the Open Source Espruino JS interpreter onto a device: https://www.espruino.com/Espressif+Flash
It's working great - the only problem is that multiple different devices can contain the same chip. For instance we have one generic firmware for the ESP32 dev boards, but then if a user has the ESP32 CYD (cheap yellow display) they would want a firmware that instantiates the display out the box.
You can't detect what the device is, but I'd love to be able to do:
and have esp-web-tools pop up a menu asking the user which firmware they'd like to install if more than one matched the chip...
The text was updated successfully, but these errors were encountered: