I have mega + wifi board of this type. Im trying to upload sketch to ESP8266 by making DIP switches 5,6,7 ON and remaining OFF.
when I try to upload the code, arduino throws this error(Capture.PNG)
Pls help me out to solve this issue. I selected generic ESP8266 board as per the instruction given in this link:

