Skip to content

Commit 4293ea4

Browse files
committed
增加空格
1 parent 501d88d commit 4293ea4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

zh/manual/adapt/bsp/bsp.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RTduino 功能依赖于如下 RT-Thread 设备框架和驱动的支持,对接
1919

2020
## 2 创建文件夹和文件
2121

22-
需要在某个BSP的applications文件夹下创建如下文件、文件夹:
22+
需要在某个 BSP 的 applications 文件夹下创建如下文件、文件夹:
2323

2424
参考示例BSP:[STM32F401 Nucleo板applications文件夹](https://github.com/RT-Thread/rt-thread/tree/master/bsp/stm32/stm32f401-st-nucleo/applications/arduino_pinout) | [STM32F411 Nucleo板applications文件夹](https://github.com/RT-Thread/rt-thread/tree/master/bsp/stm32/stm32f411-st-nucleo/applications/arduino_pinout) | [STM32L475 潘多拉板applications文件夹](https://github.com/RT-Thread/rt-thread/tree/master/bsp/stm32/stm32l475-atk-pandora/applications)
2525

@@ -118,10 +118,10 @@ const pin_map_t pin_map_table[]=
118118
如上截取展示了 IO 编号和功能映射表,每一行用花括号包裹(实际是一个结构体)来建议一个IO的映射关系:
119119

120120
```
121-
{Arduino 引脚编号, RT-Thread 引脚编号(通过 GET_PIN 宏获取), 复用功能的设备名(PWM、ADC 或 DAC), 该复用功能设备的通道号}
121+
{Arduino 引脚编号, RT-Thread 引脚编号通过 GET_PIN 宏获取, 复用功能的设备名PWM、ADC 或 DAC, 该复用功能设备的通道号}
122122
```
123123

124-
其中,Arduino引脚编号,即是第一个参数,是必填的,D0 - Dx 或者是 A0 - Ax。**注意一定要按先数字引脚后模拟引脚照顺序来填写**
124+
其中,Arduino 引脚编号,即是第一个参数,是必填的,D0 - Dx 或者是 A0 - Ax。**注意一定要按先数字引脚后模拟引脚照顺序来填写**
125125

126126
RT-Thread 引脚编号,即第二个参数,rt_pin_write 中引脚编号填什么,这里就填什么,一般使用 `GET_PIN` 宏来获取。注意:D0、D1 以及I2C、SPI IO 需要将此参数略过。
127127

@@ -212,7 +212,7 @@ menu "Onboard Peripheral Drivers"
212212
select BSP_USING_UART2
213213
default y
214214
215-
#增加 BSP_USING_ARDUINO 配置选项
215+
# 增加 BSP_USING_ARDUINO 配置选项
216216
config BSP_USING_ARDUINO
217217
bool "Compatible with Arduino Ecosystem (RTduino)"
218218
select PKG_USING_RTDUINO
@@ -249,9 +249,9 @@ endmenu
249249

250250
## 4 编写Arduino引脚布局(pinout)的README说明文档
251251

252-
示例:[STM32F401 Nucleo的Arduino引脚布局说明文档](https://github.com/RT-Thread/rt-thread/blob/master/bsp/stm32/stm32f401-st-nucleo/applications/arduino_pinout/README.md) | [STM32F411 Nucleo的Arduino引脚布局说明文档](https://github.com/RT-Thread/rt-thread/blob/master/bsp/stm32/stm32f411-st-nucleo/applications/arduino_pinout/README.md) | [STM32L475潘多拉的Arduino引脚布局说明文档](https://github.com/RT-Thread/rt-thread/blob/master/bsp/stm32/stm32l475-atk-pandora/applications/arduino_pinout/README.md)
252+
示例:[STM32F401 Nucleo的Arduino引脚布局说明文档](https://github.com/RT-Thread/rt-thread/blob/master/bsp/stm32/stm32f401-st-nucleo/applications/arduino_pinout/README.md) | [STM32F411 Nucleo的Arduino引脚布局说明文档](https://github.com/RT-Thread/rt-thread/blob/master/bsp/stm32/stm32f411-st-nucleo/applications/arduino_pinout/README.md) | [STM32L475 潘多拉的Arduino引脚布局说明文档](https://github.com/RT-Thread/rt-thread/blob/master/bsp/stm32/stm32l475-atk-pandora/applications/arduino_pinout/README.md)
253253

254-
该文档需位于`applications/arduino_pinout/README.md`,主要介绍该BSP下的Arduino引脚编号和引脚功能,以及注意事项等。
254+
该文档需位于 `applications/arduino_pinout/README.md`,主要介绍该BSP下的Arduino引脚编号和引脚功能,以及注意事项等。
255255

256256
## 5 SPI 对接注意事项
257257

0 commit comments

Comments
 (0)