Skip to content

Conversation

dinau
Copy link
Contributor

@dinau dinau commented Mar 21, 2014

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

emilmont added a commit that referenced this pull request Mar 21, 2014
STM32F0-Discovery (STM32F051R8) initial port
@emilmont emilmont merged commit e5c9ff6 into ARMmbed:master Mar 21, 2014
0xc0170 added a commit to 0xc0170/mbed-os that referenced this pull request Jan 29, 2018
Fixes [Warning] mbed_boot.c@445,0:  ARMmbed#223-D: function "memset" declared implicitly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants