From caf90e4ca3396f6fcc512459da538988b7dd368c Mon Sep 17 00:00:00 2001 From: Richard Meadows Date: Thu, 23 Apr 2020 21:31:58 +0200 Subject: [PATCH] Update README.md A little less meanness to new users --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ec73cfe..07ba695 100644 --- a/README.md +++ b/README.md @@ -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.