airrohr-firmware-flasher icon indicating copy to clipboard operation
airrohr-firmware-flasher copied to clipboard

chip_id is not supported for esp32

Open dreinhardt opened this issue 2 years ago • 1 comments

I use the Chip Type: ESP32D0WDQ6 The ESP32 board is from Joy-IT https://joy-it.net/en/products/SBC-NodeMCU-ESP32

When trying to flash, I get the error: "chip_id is not supported for esp32"

with other ESP32 boards it works. Somebody can help?

dreinhardt avatar Feb 03 '23 21:02 dreinhardt

@dreinhardt, @ricki-z I have created a fork with (supposedly) feature that you need, BUT it need's testing because I don't have ESP32 boards.

https://github.com/opendata-stuttgart/airrohr-firmware-flasher/compare/master...thepapermen:airrohr-firmware-flasher:esp32support

def get_chip_id(esp):
    """
    A shim to fix firmware flashing for ESP-32
    """
    try:
        return esp.chip_id()
    except NotSupportedError:
        return esp.read_mac()

Here you can download firmware executables for your OS: https://github.com/thepapermen/airrohr-firmware-flasher/actions/runs/6093268890

thepapermen avatar Sep 06 '23 05:09 thepapermen