Usually I flash my omg with Platform in VSC, but lately I figured out how to get to the .bin file. (it’s in the pio folder).
When I flash my tasiota devices I always use esptool. But I’m not sure which command to use for the esp32.
lets say the file I’d like to flash is named
This is an example, which might not work:
esptool.py --port /dev/cu.SLAB_USBtoUART --baud 115200 write_flash -fm=dio -fs=4MB 0x00000 /Users/myuser/Desktop/omg.bin
I’m always unsure about parts like
write_flash -fm=dio -fs=4MB 0x00000. Can someone explain how to do this right?