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: README.md
+2-19Lines changed: 2 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,38 +22,21 @@ Connect the board with host through USB to TTL converter (FTDI board in our case
22
22

23
23
24
24
## Project Variant
25
+
25
26
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
+
26
28
1.[Baremetal](baremetal)
27
29
2. libopencm3
28
30
3. FreeRTOS
29
31
4. Zephyr RTOS
30
32
5. Arduino
31
33
6. CPP Cmake
32
34
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
-
51
35
## Output
52
36
53
37
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.
54
38

55
39
56
-
57
40
## Debug
58
41
59
42
Click in `Run and Debug` option in VsCode sidebar. Then launch `Cortex Debug` target.
0 commit comments