1.新增ST-BSP文档。

This commit is contained in:
MacRsh
2024-01-10 17:12:42 +08:00
parent 9cdf96e001
commit 6c1d728743
2 changed files with 32 additions and 0 deletions

16
bsp/st/README.md Normal file
View File

@@ -0,0 +1,16 @@
# ST配置教程
[English](README_EN.md)
注:
-`BSP`仅支持`HAL`库,暂不支持标准库或`LL`库需求。
-`BSP`需与`CubeMx`结合使用。
## 创建工程
使用`CubeMx`创建对应芯片的工程。使能需要使用的功能(仅需要配置管脚映射关系,不需要设置具体参数值)。
注:禁止使能中断,否则会报重复定义错误(`MR`框架已接管中断)。
## 参考仓库目录下的`README`,添加 mr-library

16
bsp/st/README_EN.md Normal file
View File

@@ -0,0 +1,16 @@
# ST configuration tutorial
[中文](README.md)
Note:
- This BSP only supports the HAL library, and does not currently support standard library or LL library requirements.
- This BSP needs to be used together with CubeMx.
## Create project
Use CubeMx to create a project for the corresponding chip. Enable the required functions (only need to configure pin mapping relationships, no need to set specific parameter values).
Note: Do not enable interrupts, otherwise it will report redefinition errors (the MR framework has taken over interrupts).
## Refer to the README under the repository directory to add mr-library