Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Add PROBE_RUN_SPEED env variable
Browse files Browse the repository at this point in the history
- Useful when wanting to set the SWD speed in your .cargo/config.toml
  • Loading branch information
haata committed Aug 24, 2022
1 parent b22f2ed commit 48e04c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub struct Opts {
pub probe: Option<String>,

/// The probe clock frequency in kHz
#[structopt(long)]
#[structopt(long, env = "PROBE_RUN_SPEED")]
pub speed: Option<u32>,

/// Path to an ELF firmware file.
Expand Down

0 comments on commit 48e04c4

Please sign in to comment.