You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bsp/stm32/stm32f103-blue-pill/README.md
+34-9Lines changed: 34 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ By reading the ***Quickly Get Started*** section developers can quickly get thei
17
17
18
18
## Onboard Resources
19
19
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.
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 (hidden) 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.
21
21
22
22
- MCU:STM32F103C8T6 @72MHz, 64KB FLASH , 20KB RAM
23
23
@@ -40,7 +40,9 @@ This BSP provides MDK4, MDK5, and IAR projects for developers and it supports th
40
40
41
41
### Use ST-LINK Debugger to connect the Blue Pill Board
You can use other USB to UART adapters to replace FTDI adapter.
65
69
@@ -90,21 +94,25 @@ You can use other USB to UART adapters to replace FTDI adapter.
90
94
91
95
### Compile and Download
92
96
93
-
- Double-click the `project.uvprojx` file to open the MDK5 project (**NOT**`template.uvprojx` file)
97
+
- Double-click the `project.uvprojx` file to open the MDK-Keil5 project (**NOT**`template.uvprojx` file)
94
98
- Click the “option for target” button
95
99
- Debug: Choose "ST-LINK Debugger" and Click "Setting" button:
96
100
- Port: choose "SW (Serial Wire)"
97
101
- Flash Download: check "Reset and Run"
98
102
99
103
- Compile and download the program to the board
100
104
105
+
You can also follow this video to configurate *Blue Pill BSP* Keil5 project:
106
+
107
+
> https://www.youtube.com/watch?v=0PwBBYXQ08g&t
108
+
101
109
102
110
103
111
### Running Results
104
112
105
113
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.
106
114
107
-
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:
115
+
The 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:
108
116
109
117
```shell
110
118
\ | /
@@ -114,13 +122,29 @@ The USB virtual COM port connects to **USART1 (PA9-Tx, PA10-Rx) by default**, an
114
122
msh >
115
123
```
116
124
117
-
- If you have no terminal tool software available, you can download *Putty*: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
125
+
126
+
127
+
### Terminal tool - PuTTy
128
+
129
+
If you have no terminal tool software available, you can download *PuTTy*:
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:
147
+
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 tool](https://www.rt-thread.io/download.html?download=Env), as follows:
124
148
125
149
1. Open the ENV tool under the specific BSP folder, eg: *bsp/stm32/stm32f103-blue-pill* ;
126
150
2. Enter `menuconfig` command to configure the project, then save and exit;
@@ -133,10 +157,11 @@ Learn how to use RT-Thread ENV, click [Here](https://github.com/RT-Thread/rtthre
0 commit comments