File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ Getting Started
36
36
---------------
37
37
The ` examples ` folder contains several example programs. To compile them, one must specify the target device as cargo feature:
38
38
```
39
- $ cargo build --features=stm32f030xc
39
+ $ cargo build --features=stm32f030
40
40
```
41
41
42
42
To use stm32f0xx-hal as a dependency in a standalone project the target device feature must be specified in the ` Cargo.toml ` file:
43
43
```
44
44
[dependencies]
45
45
cortex-m = "0.6.0"
46
46
cortex-m-rt = "0.6.8"
47
- stm32f0xx-hal = {version = "0.15 ", features = ["stm32f030xc "]}
47
+ stm32f0xx-hal = {version = "0.16 ", features = ["stm32f030 "]}
48
48
```
49
49
50
50
If you are unfamiliar with embedded development using Rust, there are a number of fantastic resources available to help.
You can’t perform that action at this time.
0 commit comments