SWLINK: Add variant for the STM8S Discovery board
swlink: Add missing item to connector layout
Removed stm32_can and usps_f407 platforms.
Fix build for f4discovery host.
Add a version of BMP-mini optimized for manual production

This commit adds a variant of the Blackmagic Mini that uses only 0603
parts and standard connectors for better availability and easier manual
soldering.

Additionally, another voltage regulator has been used that is
cheaper, pin-compatible and has better characteristics.
Moved entropia design to contrib directory and added description.
Updated project README.
Modified BMP Mini with extra connectors
Accept new chip ID for stm32f4 and include flash layout for 2MiB parts.

Thanks to Mike Smith.
Add erase_mass command for stm32f4 devices.
Removed verison info from USB strings on native platform.
dfu: Fix warnings.
Revert "STM32: Use hardware CRC unit"

This reverts commit 32b909067b2a34f475a52585b965c195de87c172.

This CRC routine doesn't work.  The bit order used by the
STM32 CRC unit is reveresed from what GDB uses.
Revert "Revert "STM32: Use hardware CRC unit""

This reverts commit 58abbf7fc7686a16ee5bdfacb1241a5adf2921ea.
stm32f1/stm32f4: fix hardware CRC calculation

This was real-life tested on stm32f1 hardware including computation
for odd-sized ranges.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Make code compatible with newlib-nano and use it for stlink

With gcc-arm-none-eabi-4_7-2013q1-20130313 and -O2 I get
   text    data     bss     dec     hex filename
  45744     304    2376   48424    bd28 blackmagic

With -Os the results are even more impressive:
   text    data     bss     dec     hex filename
  37900     304    2376   40580    9e84 blackmagic

Since -Os might lower the debugging speed, do not enable it yet in the
absence of real measurements.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Merge remote-tracking branch 'upstream/master' into blackmagic

Conflicts:
	src/platforms/f4discovery/platform.h
	src/platforms/native/platform.h
	src/platforms/swlink/platform.c
	src/platforms/swlink/platform.h
Remove define PLATFORM_HAS_JTAG, as code space saving is only small
stm32f4: Add option erase command
F4 Discovery: - Unconditionally use the System Bootloader - Use PC2/4/5/6 Pins for JTAG/SWD to avoid collision with eventual STLink Uart connection - Indicate Bootloader with blue LED