From e77962985d4610c2dbcf3bb9bc266ee023e57e88 Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Sun, 1 Feb 2026 11:39:58 -0500 Subject: Remove custom smoke tests for target-gen test --- README.md | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8085985..1f05bef 100644 --- a/README.md +++ b/README.md @@ -30,27 +30,23 @@ Before attempting to generate the flash programming algorithms for [probe-rs], install the `target-gen` tool. It's available in the probe-rs repository. [My fork][probe-rs-fork] has some `target-gen` patches that might be useful. -Here's how to generate the algorithm, represented as YAML, for the 1010EVK: +Use `target-gen test` to test each algorithm on its EVK. For convenience, +there are dedicated Cargo configurations you can use. For example, to test the +algorithm on a 1010EVK, run ``` -cargo --config .cargo/flash_algo.toml run --release --package=imxrt1010evk +cargo --config .cargo/1010evk.toml run --release --package=imxrt1010evk ``` -To generate the algorithm for a different EVK, change the `--package` selection. - -Some of the EVKs have a smoke test that checks read, erase, and write with its -flash part. Keep in mind that this will manipulate your board's flash, and it -might change something you care about! +To test on a different EVK, change the Cargo configuration and the package. -To run the smoke test on the 1010EVK, power on your EVK and connect it to your -host. Then, submit +Here's how to generate the algorithm, represented as YAML, for the 1010EVK: ``` -cargo --config .cargo/imxrt1010.toml run --release --package=imxrt1010evk --example=smoke +cargo --config .cargo/flash_algo.toml run --release --package=imxrt1010evk ``` -to flash the example with probe-rs. If you change the EVK, change the Cargo -configuration for your MCU as well as your package. +To generate the algorithm for a different EVK, change the `--package` selection. [fpa]: https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/flashAlgorithm.html [probe-rs]: https://probe.rs -- cgit v1.2.3