I would like to have station mode and enabled DHCP by default saved in flash (initial condition).
Is it possible to set initial condition for "AT+CWMODE_DEF=1" and "AT+CWDHCP_DEF=0,1" in flash download tool ?
But there is a way, which will take some experimentation. Everything stored in the flash by the firmware is in the last 16kB of the memory. You can see the flash map from Getting Started Guide.
So what you can try is, send the commands you want to your ESP with AT commands. The firmware will then save the data to the flash. Then copy the last 16kB of the flash and flash it to the new devices along with AT firmware (make sure version is the same).
Then you should have the exact clone of the flash settings on first module.
Who is online
Users browsing this forum: No registered users and 1 guest
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!