Programming STM32 chip using esp8266
So we can update the stm32 chips over WiFi.
The code is almost ansi C, so you can easily migrate to other platform.
The document for STM32 UART Bootloader :
http://www.st.com/content/ccc/resource/technical/document/application_note/51/5f/03/1e/bd/9b/45/be/CD00264342.pdf/files/CD00264342.pdf/jcr:content/translations/en.CD00264342.pdf
Most of the code is borrowed from the stm32loader.py project.