Skip to content

Commit 2077aec

Browse files
committed
Update readme
1 parent 1e54d51 commit 2077aec

File tree

4 files changed

+13
-15
lines changed

4 files changed

+13
-15
lines changed

bsp/stm32/stm32f103-blue-pill/README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# STM32F103C8 Blue Pill Board BSP Introduction
22

3-
[[中文版]](README_zh.md)
3+
[[中文]](README_zh.md)
44

5-
This document records the guide of the BSP (board support package) provided by the RT-Thread development team for the STM32F103C8 Blue Pill development board.
5+
This document records the introduction of the BSP (board support package) provided by the RT-Thread development team for the STM32F103C8 Blue Pill development board.
66

77
The document is covered in four parts:
88

@@ -17,19 +17,18 @@ By reading the ***Quickly Get Started*** section developers can quickly get thei
1717

1818
## Onboard Resources
1919

20-
The "blue pill" is a STM32F103 based development board with Cortex-M3 ARM CPU that runs at 72 MHz, 20 kB of RAM and 64 or 128 kB of flash memory. The microcontroller (MCU) has USB port, two serial ports, 16 bit PWM pins and 12 bit ADC pins. It runs at 3.3V, but some of its pins are 5V tolerant.
20+
The "blue pill" is a STM32F103 based development board with Cortex-M3 ARM CPU that runs at 72 MHz, 20 KB of RAM and 64 or 128 KB of flash memory. The microcontroller (MCU) has a USB port, two serial ports, 16 bit PWM pins and 12 bit ADC pins. It runs at 3.3V, but some of its pins are 5V tolerant.
2121

22-
- MCU:STM32F103C8T6 @ 72MHz, 64KB FLASH , 20KB RAM
22+
- MCU:STM32F103C8T6 @72MHz, 64KB FLASH , 20KB RAM
2323

2424
- Peripherals
2525

2626
- LED:PC13
2727

2828
- Debug IO interface type: SWD / ST-LINK
2929

30-
3130

32-
![board](figures/board1.jpg)
31+
![board](figures/Bluepill_pinout.png)
3332

3433

3534

@@ -43,17 +42,17 @@ This BSP provides MDK4, MDK5, and IAR projects for developers and it supports th
4342

4443
1) Use a Type-A to Mini-B cable to connect the development board to the PC and turn on the power switch.
4544

46-
2) Use FTDI adapter(USB to UART) to connect the BluePill board's PA9(Tx) and PA10(Rx) pins.
45+
2) Use FTDI adapter(USB to UART) to connect the Blue Pill board's PA9(Tx) and PA10(Rx) pins.
4746

4847
![connection](figures/connection.jpg)
4948

5049
### Compile and Download
5150

52-
Double-click the `project.uvprojx` file, to open the MDK5 project, compile and download the program to the board.
51+
Double-click the `project.uvprojx` file to open the MDK5 project; compile and download the program to the board.
5352

5453
### Running Results
5554

56-
After the program is successfully downloaded, the system runs automatically. Observe the running results of the LED on the development board, and you will see LED is flashing periodically.
55+
After the program is successfully downloaded, the system runs automatically. Observe the running results of the LED on the development board, and you will see the LED is flashing periodically.
5756

5857
The USB virtual COM port connects to USART1(PA9-Tx, PA10-Rx) by default, and when the corresponding serial port (115200-8-1-N) is opened in the terminal tool, the output information of RT-Thread can be seen when the device is reset:
5958

@@ -69,9 +68,9 @@ msh >
6968

7069
## **Advanced Features**
7170

72-
This BSP only enables GPIO and USART2 by default. If you need more advanced features such as SPI, I2C, you need to configure the BSP with RT-Thread [ENV tools](https://www.rt-thread.io/download.html?download=Env) , as follows:
71+
This BSP only enables GPIO and USART1 by default. If you need more advanced features such as SPI, ADC, or to add software packages, you need to configure the BSP with RT-Thread [ENV tools](https://www.rt-thread.io/download.html?download=Env), as follows:
7372

74-
1. Open the ENV tool under the specific BSP folder;
73+
1. Open the ENV tool under the specific BSP folder, eg: *bsp/stm32/stm32f103-blue-pill* ;
7574
2. Enter `menuconfig` command to configure the project, then save and exit;
7675
3. Enter `pkgs --update` command to update the package;
7776
4. Enter `scons --target=mdk4/mdk5/iar` command to regenerate the project.
@@ -82,10 +81,9 @@ Learn how to use RT-Thread ENV, click [Here](https://github.com/RT-Thread/rtthre
8281

8382
## References
8483

84+
- [[Schematic]](https://stm32duinoforum.com/forum/images/c/c1/wiki_subdomain/Vcc-gnd.com-STM32F103C8-schematic.pdf)
8585
- [[STM32 Blue Pill vs Black Pill Microcontroller Boards]](https://www.youtube.com/watch?v=QCdnO43RBK4&t=875s)
86-
8786
- [[STM32F103C8 datasheet]]( https://www.st.com/resource/en/datasheet/stm32f103c8.pdf)
88-
8987
- [[STM32F103C8 More Information]](https://www.st.com/en/microcontrollers-microprocessors/stm32f103c8.html#overview)
9088

9189

bsp/stm32/stm32f103-blue-pill/README_zh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ STM32F103C8T6最小系统,采用SWD调试接口,可以用3个接口就能完
2222

2323
开发板外观如下图所示:
2424

25-
![board](figures/board1.jpg)
25+
![board](figures/Bluepill_pinout.png)
2626

2727
该开发板常用 **板载资源** 如下:
2828

@@ -91,7 +91,7 @@ msh >
9191
```
9292
### 进阶使用
9393

94-
此 BSP 默认只开启了 GPIO 和 串口1 的功能,如果需使用 ADC、PWM等更多高级功能,再用 ENV 工具对BSP 进行配置,步骤如下:
94+
此 BSP 默认只开启了 GPIO 和 串口1 的功能,如果需使用 ADC、SPI等更多高级功能,再用 ENV 工具对BSP 进行配置,步骤如下:
9595

9696
1. 在 bsp 下打开 env 工具。
9797

687 KB
Loading
-184 KB
Binary file not shown.

0 commit comments

Comments
 (0)