I use a custom partition to allow for spiffs and OTA updates.
This means I can not use the "Build Targets - > flash" like the docs recommend.
So far I have been flashing each partitions bin file to the correct address using mingw32 command:
Code: Select all
python C:/msys32/home/gunar.kroeger/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 --port COM4 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0xd000 C:/Users/gunar.kroeger/Desktop/eclipse/ESP32_Updater/build/ota_data_initial.bin 0x1000 C:/Users/gunar.kroeger/Desktop/eclipse/ESP32_Updater/build/bootloader/bootloader.bin 0x10000 C:/Users/gunar.kroeger/Desktop/eclipse/ESP32_Updater/build/ESP32_Updater.bin 0x90000 C:/Users/gunar.kroeger/Desktop/eclipse/ESP32_AOLT/build/ESP32_AOLT.bin 0x8000 C:/Users/gunar.kroeger/Desktop/eclipse/ESP32_Updater/build/partitions.bin
Thanks