Possibly use rBoot to do this - https://github.com/morganrallen/esp8266-rboot-skeleton
Possibly use rBoot to do this -
https://github.com/morganrallen/esp8266-rboot-skeleton