texane/stlink — pull request #29 by karlp (2011-11-15 20:30:23+00:00)
Title: Eliminate SCSI pass through, fix F1 targets again, valgrind all the goodies

The bulk of this change is in the elimination of the scsi pass through for the stlinkv1 hardware. This all seems to be working well now, after a few initial hiccups. Documentation has mostly been updated to cover this, but as always, could do with more :)

* Logging was overhauled.
* Command line parsing was overhauled
* Lots of device specific code that was scattered between gdbserver, flash util and common code has been moved into the common code, but there's still much to be done here.
* Lots of redundant calls to lookup the same information (particularly core/chip id) has been moved into a common step when the target is first opened.

I had hoped to get this merged in earlier, but the flurry of activity around the F4 support got in the way a little bit.

This branch has been tested by jnosky and csamuelson on F4 boards, myself and jpa on F1VL and F1 boards, with a mixture of stlinkv1 and stlinkv2 hardware.