Kbrtny mav f102

This Pull Request is a by hand merge to incorporate Kevin's changes to support usb bootloading on the STM32F102 with the usb-fixes branch and supersede tha PR