Update README.md

A little less meanness to new users
This commit is contained in:
Richard Meadows 2020-04-23 21:31:58 +02:00 committed by GitHub
parent a8d868e76f
commit caf90e4ca3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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.