STM32F0-Discovery (STM32F051R8) initial port #223
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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