parent
a8d868e76f
commit
caf90e4ca3
|
@ -36,7 +36,7 @@ Getting Started
|
|||
---------------
|
||||
The `examples` folder contains several example programs. To compile them, one must specify the target device as cargo feature:
|
||||
```
|
||||
$ cargo build --features=stm32f030xc
|
||||
$ cargo build --features=stm32f030
|
||||
```
|
||||
|
||||
To use stm32f0xx-hal as a dependency in a standalone project the target device feature must be specified in the `Cargo.toml` file:
|
||||
|
@ -44,7 +44,7 @@ To use stm32f0xx-hal as a dependency in a standalone project the target device f
|
|||
[dependencies]
|
||||
cortex-m = "0.6.0"
|
||||
cortex-m-rt = "0.6.8"
|
||||
stm32f0xx-hal = {version = "0.15", features = ["stm32f030xc"]}
|
||||
stm32f0xx-hal = {version = "0.16", features = ["stm32f030"]}
|
||||
```
|
||||
|
||||
If you are unfamiliar with embedded development using Rust, there are a number of fantastic resources available to help.
|
||||
|
|
Loading…
Reference in New Issue