STM32F0-Discovery (STM32F051R8) initial port

Hello,

I've ported mbed-sdk to STM32F0-Discovery(STM32F051R8) board.
This port is basically derived from NUCLEO_F030RB port
and ported only with GCC_ARM toolchain at the momemt.

The target name is 'DISCO_F051R8'.

The statement at this moment is as follows,
I've checked working well,
(1) Simple 'ticker' program 'MBED_11: Ticker with printf() out to UART' is ok.
PA2: UART TX
PA3: UART RX
(2) RTX OS sample 'RTOS_1: Basic' is ok.
(3) MBED_5: PWM
PWM port is PA_7 and PC_7.
Period 20msec, duty 75% and 50% are ok.
(4) SPI loop back test is ok.
(5) wait_us() function, 100usec and 10usec are ok.
(6) SD card test 'MBED_A12: SD File System' is ok.

NUCLEO_F030R8(STM32F030R8) and STM32F0-Discovery(STM32F051R8) have
very similar peripheral architecture,
so probably some other peripheral test will be pass.

Build method:
(1) Build mbed library with RTX OS
python workspace_tools/build.py -m DISCO_F051R8 -t GCC_ARM -r
(2) Generate test project (i.e.)
python workspace_tools/project.py -m DISCO_F051R8 -i gcc_arm -p 39
(3) Build test project
Unzip
build/export/MBED_11_gcc_arm_DISCO_F051R8.zip
and execute command line 'make'.


Would you merge this implimentation ?

dinau