Skip to content

Commit 6821e45

Browse files
committed
Avoid stale dependencies in README (eg. cortex-m-rt 0.6 !)
Instead encourage users to copy them from Cargo.toml themselves
1 parent d051eed commit 6821e45

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

examples/README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,14 @@ is contained within the [examples folder](https://github.com/stm32-rs/stm32h7xx-
3636
the configuration feature `stm32h743v` to match the part you are using:
3737

3838
```toml
39-
[dependencies]
40-
cortex-m-rt = "0.6.12"
41-
cortex-m = "0.7.1"
42-
log = "0.4.11"
43-
embedded-hal = "0.2.6"
44-
panic-halt = "0.2"
45-
cfg-if = "1.0.0"
46-
4739
[dependencies.stm32h7xx-hal]
48-
version = "0.10"
40+
version = "^0"
4941
features = ["stm32h743v"]
5042
```
5143

44+
You should also add dependencies for the other crates you need, such as
45+
`cortex-m-rt` or `embedded-hal`.
46+
5247
7. Build the application with
5348

5449
```sh

0 commit comments

Comments
 (0)