Skip to content

Commit a09cfb6

Browse files
committed
📝 update readme
1 parent fbb7349 commit a09cfb6

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

README.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,21 @@ Connect the board with host through USB to TTL converter (FTDI board in our case
2222
![Connection diagram for USART1](https://github.com/csrohit/bluepill-uart/blob/main/docs/label.png "Pin connection diagram for usart1")
2323

2424
## Project Variant
25+
2526
STM32F1 Blue pill is a versatile board and can be programmed in various ways. I have created following variations of this project which differs in programming language, use of RTOS and framework. Clone the repository and follow steps mentioned in the respective variations for building and flashing.
27+
2628
1. [Baremetal](baremetal)
2729
2. libopencm3
2830
3. FreeRTOS
2931
4. Zephyr RTOS
3032
5. Arduino
3133
6. CPP Cmake
3234

33-
### Build
34-
35-
Run following command in terminal to generate flashable binaries for blue pill board. Build files will be written to **Build Output Directory** as configured.
36-
37-
```bash
38-
make all
39-
```
40-
41-
### Flash
42-
43-
1. Connect STlink to PC and blue pill board using swd headers.
44-
2. Put blue pill board in programming mode.
45-
3. Run following to flash board with binary.
46-
47-
```bash
48-
make flash
49-
```
50-
5135
## Output
5236

5337
The application prints time elapsed since boot in interval of 5 seconds. Configure serial onitor on host for 9600 baudrate to be able to read and write to blue pill using uart. Following output can be observed on UART.
5438
![Output on Serial monitor](https://github.com/csrohit/bluepill-uart/blob/main/docs/output.jpg "Serial messages printed on monitor")
5539

56-
5740
## Debug
5841

5942
Click in `Run and Debug` option in VsCode sidebar. Then launch `Cortex Debug` target.

0 commit comments

Comments
 (0)