jeelabs @ github.com has written a firmware for ESP8266 that enables it to talk to RS232 of your mcu via WiFi and also programm your mcu via WiFi. He writes:
This firmware connects an attached micro-controller to the internet using a ESP8266 Wifi module. It implements a number of features:
- transparent bridge between Wifi and serial, useful for debugging or inputting into a uC
- flash-programming attached Arduino/AVR microcontrollers as well as LPC800-series and other ARM microcontrollers via Wifi
- outbound TCP (and thus HTTP) connections from the attached micro-controller to the internet
- outbound REST HTTP requests from the attached micro-controller to the internet, protocol based on espduino and compatible with tuanpmt/espduino
The firmware includes a tiny HTTP server based on esphttpd with a simple web interface, many thanks to Jeroen Domburg for making it available! Many thanks to https://github.com/brunnels for contributions around the espduino functionality.
Transparent ESP8266 WiFi-to-Serial Bridge – [Link]