Skip to content

Commit 0414b03

Browse files
committed
doc(examples): update the instructions now that cargo-hf2's issue has been fixed
1 parent 615c989 commit 0414b03

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

examples/basic_wio_terminal/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@ This directory contains an example R3 application for [Wio Terminal][1].
22

33
Build the application by `cargo build --release`.
44

5-
See <https://github.com/atsamd-rs/atsamd/blob/master/boards/wio_terminal/examples/README.md#wio-terminal-examples> for how to flash the application. The recommended way is to use [cargo-hf2][2], but you need a version that has [hf2-rs#44][1] merged:
5+
See <https://github.com/atsamd-rs/atsamd/blob/master/boards/wio_terminal/examples/README.md#wio-terminal-examples> for how to flash the application. The recommended way is to use [cargo-hf2][2] 0.3.3 or later (pre-[hf2-rs#44][1] versions will silently write a corrupted image):
66

77
```shell
8-
cargo install cargo-hf2 --git https://github.com/yvt/hf2-rs.git --rev 3b0743d0d7fd4005973e6b44f45b391f05336bed
8+
cargo install cargo-hf2
99
cargo hf2 --release --vid 0x2886 --pid 0x002d
1010
```
1111

12+
cargo-hf2 might panic upon flashing completion, but it can be ignored safely ([hf2-rs#38][2]).
13+
1214
[1]: https://github.com/jacobrosenthal/hf2-rs/pull/44
15+
[2]: https://github.com/jacobrosenthal/hf2-rs/issues/38

0 commit comments

Comments
 (0)