shariltumin / esp32-cam-micropython-2022

MicroPython esp32-cam firmware with camera support compiled with esp-idf-4.4.0. Python script files for live streaming
MIT License
174 stars 33 forks source link

Feature request: tell us what we need to know to flash this (besides thonny) #40

Open gitcnd opened 7 months ago

gitcnd commented 7 months ago

Please tell us the esptool flash command. (thonny is a mess for many people, me included, and doesn't support a CLI)

About 50% of firmware I've seen flashes from 0x0, the rest from 0x1000, with assorted versions of those requiring the partition table and vfs partitions to be flashed from separate files (in separate places)...

gitcnd commented 7 months ago

Update - if you give thonny a fake serial port, it shows you what command it would have used - seem to be equivalent to this:

esptool.py --chip esp32 --port $PORT write_flash --erase-all 0x1000 firmware.bin