File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ Dependencies
28
28
Configure Toolchain
29
29
---------
30
30
31
- ` $ rustup target add thumbv6m-none-eabi `
31
+ `$ rustup target add thumbv6m-none-eabi`
32
32
33
33
Build Examples
34
34
---------
35
35
36
- ` $ cargo build --release --examples --features stm32l0x1,rt `
36
+ `$ cargo build --release --examples --features stm32l0x1,rt`
37
37
38
38
Dependecies for Flashing
39
39
---------
@@ -62,14 +62,14 @@ Flashing
62
62
The following is a how-to on flashing the 'serial' example code. This can be extended to any other example code.
63
63
64
64
1 . Generate the hex file
65
- ```
66
- $ arm-none-eabi-objcopy -O ihex target/thumbv6m-none-eabi/release/examples/serial serial.hex
67
- ```
65
+ ```
66
+ $ arm-none-eabi-objcopy -O ihex target/thumbv6m-none-eabi/release/examples/serial serial.hex
67
+ ```
68
68
69
69
2. Flash the microcontroller
70
- ```
71
- $ st-flash --format ihex write serial.hex
72
- ```
70
+ ```
71
+ $ st-flash --format ihex write serial.hex
72
+ ```
73
73
74
74
Contibutor Notes
75
75
---------
You can’t perform that action at this time.
0 commit comments