src/stlink-common.[ch]: Another fix on white spaces, unifying coding style
src/stlink-common.c: Improve error reporting
Add support for STM32F0-Discovery
Merge pull request #111 from Senseg/master

Experimental support for STM32F0-Discovery
Bring the support for STM32 F3 Discovery board (ARM Techcon 2012)

Support was tested by attaching USB cable to USB ST-LINK USB port, starting

	./st-util

Which resulted in proper device recognition:

	2012-11-03T23:11:25 INFO src/stlink-common.c: Device connected is: F3 device, id 0x10016422
	2012-11-03T23:11:25 INFO src/stlink-common.c: SRAM size: 0xa000 bytes (40 KiB), Flash: 0x40000 bytes (256 KiB) in pages of 2048 bytes
	Chip ID is 00000422, Core ID is  2ba01477.

Then from GDB, after "target remove localhost:4242", I tested reads:

	x/w 0x20000000

And writes:

	set {int}0x20000000 1

And ELF loading:

	(gdb) load main
	Loading section .text, size 0x10 lma 0x20000000
	Start address 0x20000000, load size 16
	Transfer rate: 410 bytes/sec, 16 bytes/write.

And verified dissasembly (in my case--with Thumb mode) with objdump -d <elf>
output:

	(gdb) set arm force-mode thumb
	(gdb) x/7i 0x20000000
	=> 0x20000000:	push	{r7}
	   0x20000002:	sub	sp, #12
	   0x20000004:	add	r7, sp, #0
	   0x20000006:	ldr	r3, [r7, #4]
	   0x20000008:	add.w	r3, r3, #1
	   0x2000000c:	str	r3, [r7, #4]
	   0x2000000e:	b.n	0x20000006
Merge pull request #114 from wkoszek/master

Support for STM32 F3 Discovery board (ARM Techcon 2012)
[ merge ] STM32_CHIPIP_F3 patch from Geoffrey Brown
[ merge ] Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> patches
[ merge ] patch from jgobat@gmail.com, add STM32F373 support
[ merge ] patch from fischermi@t-online.de, GDB server endless loop
bump version
Merge branch 'master' of git://github.com/texane/stlink
bump version
fix write_flash size of len for 64bit
file needs to be Binary for windows

O_BINARY only defined on windows
bump version
Merge pull request #121 from WinterMute/64bit_win_fix

64bit win fix
Clears DMA config registers for Discovery F4 board
to allow flash programming.  See texane/stlink issue #74.
Merge pull request #122 from sheaff/master

STM32F4 flash while using DMA potential fix
Fix byte count when doing unaligned memory read, fix issue #127

 - when start is adjusted, count should also be adjusted,
 - then, count is rounded to the next multiple of word size.