texane/stlink — pull request #111 by pekkanikander (2012-10-18 11:14:02+00:00)
Title: Experimental support for STM32F0-Discovery

This adds experimental support for STM32F0-Discovery board, which has the STM32F051 MCU. It basically works, but is not of real production quality.

The code has been tested quite a lot, but it has two deficiencies that should be fixed. Firstly, I have to first "st-link erase" before doing "st-link flash", otherwise the discovery boards goes to some weird state. Secondly, it doesn't boot the newly flashed image, but the reset button has to be pressed for that. But if I first erase the flash, then flash, and then reset manually, it works well enough.

However, as I'm unlikely to fix these deficiencies any soon, and as they may be shared by other MCUs (I just cannot test), I'm creating a push request at this stage.