|
4 weeks ago | |
---|---|---|
.. | ||
.settings | 4 years ago | |
applications | 1 month ago | |
board | 1 month ago | |
figures | 5 years ago | |
tools | 4 years ago | |
.config | 1 month ago | |
.cproject | 3 years ago | |
.gitignore | 5 years ago | |
.project | 4 years ago | |
EventRecorderStub.scvd | 4 years ago | |
Kconfig | 1 year ago | |
README.md | 4 years ago | |
README_zh.md | 5 years ago | |
SConscript | 2 months ago | |
SConstruct | 1 month ago | |
project.ewp | 4 weeks ago | |
project.eww | 5 years ago | |
project.uvoptx | 4 weeks ago | |
project.uvprojx | 4 weeks ago | |
rtconfig.h | 1 month ago | |
rtconfig.py | 3 years ago | |
template.ewp | 4 years ago | |
template.eww | 5 years ago | |
template.uvopt | 4 years ago | |
template.uvoptx | 4 years ago | |
template.uvprojx | 4 years ago |
中文页 |
This document records the execution instruction of the BSP (board support package) provided by the RT-Thread development team for the STM32MP157A-DK1 development board.
The document is covered in three parts:
STM32MP157A-DK1 Board Resources Introduction
Quickly Get Started
Advanced Features
By reading the Quickly Get Started section developers can quickly get their hands on this BSP and run RT-Thread on the board. More advanced features will be introduced in the Advanced Features section to help developers take advantage of RT-Thread to drive more on-board resources.
The STM32MP157A-DK1 is a development board based on a dual Cortex-A7 and Cortex-M4 core. The Cortex-A7 core operates at 800 MHZ and the Cortex-M4 operates at 209MHZ. There is no Flash inside the STM32MP157A.
The mainly-used on-board resources are shown as follows:
For more details about this board, please refer to the ST official documentation: STM32MP157A-DK1 Development board introduction
Each peripheral supporting condition for this BSP is as follows:
On-board Peripheral | Support | Remark |
---|---|---|
USB TO UART | YES | |
PWR | YES | |
RCC | YES | |
SD Card (SDMMC) | NO | |
ETH | NO | |
AUDIO | NO | |
On-chip Peripheral Drivers | Support | Remark |
GPIO | YES | GPIOA-GPIOK, GPIOZ |
UART | YES | UART4 (ST-Link) |
EXTI | YES | |
SPI | YES | |
TIM | YES | |
LPTIM | YES | |
I2C | YES | Software |
ADC | YES | |
DAC | YES | |
WWDG | YES |
This BSP provides IAR projects for developers. Here's an example of the IAR development environment, to introduce how to run the system.
Use a USB cable to connect the development board to the PC and turn on the power switch.
Double-click the project.eww file, to open the IAR project, compile and download the program to the board.
By default, the project uses ST_LINK simulator to download the program, when the ST_LINK connects the board, clicking the download button can download the program to the board.
After the program is successfully downloaded, the system runs automatically. Observe the running results of the LED on the development board, the blue LD8 will flash periodically.
Connect the serial port of the board to PC, communicate with it via a serial terminal tool (115200-8-1-N). Restart the board and the startup information of RT-Thread will be observed:
\ | /
- RT - Thread Operating System
/ | \ 3.1.1 build Nov 19 2018
2006 - 2018 Copyright by rt-thread team
msh >
This BSP only enables GPIO and serial port 4 by default. If need more advanced features, you need to configure the BSP with RT-Thread Env tools, as follows:
menuconfig
command to configure the project, then save and exit;pkgs --update
command to update the packages;scons --target=iar
command to regenerate the project.accendant: