File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ rustflags = [
17
17
" -C" ,
18
18
" force-frame-pointers=no" ,
19
19
]
20
+ runner = " target-gen run"
20
21
21
22
[build ]
22
23
target = " {{target-arch}}"
Original file line number Diff line number Diff line change @@ -35,19 +35,15 @@ cargo generate gh:probe-rs/flash-algorithm-template --name=algorithm \
35
35
36
36
to generate a new project from the template.
37
37
38
- ## Building the algorithm
39
-
40
- Building requires nightly Rust.
41
-
42
- Just run ` target-gen export ` . It spits out the flash algo in the probe-rs YAML format.
43
-
44
38
## Developing the algorithm
45
39
46
40
Building requires nightly Rust.
47
41
48
- Just run ` target-gen test ` . It spits out the flash algo in the probe-rs YAML format and downloads it onto a target and makes a test run.
42
+ Just run ` cargo run ` . It spits out the flash algo in the probe-rs YAML format and downloads it onto a target and makes a test run.
49
43
You will also be able to see RTT messages.
50
44
45
+ You can find the generated YAML in ` target/definition.yaml ` .
46
+
51
47
# License
52
48
53
49
This thingy is licensed under either of
You can’t perform that action at this time.
0 commit comments