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

Add PROBE_RUN_SPEED env variable #349

Merged
merged 1 commit into from
Sep 1, 2022
Merged

Conversation

haata
Copy link
Contributor

@haata haata commented Aug 24, 2022

  • Useful when wanting to set the SWD speed in your .cargo/config.toml

@Urhengulas
Copy link
Member

@haata said:

Useful when wanting to set the SWD speed in your .cargo/config.toml

What's the problem with setting it via the command line flag?

Anyways: bors r+

@haata
Copy link
Contributor Author

haata commented Aug 26, 2022

Previously I would set --speed in .cargo/config.toml and check this in to the git rep. However, my project supports multiple debuggers which don't support the same SWD speeds.
I haven't been able to figure out a good way of using other .cargo/config.toml files to override the one checked into git is what led me to this change

@Urhengulas
Copy link
Member

bors r+

bors bot added a commit that referenced this pull request Aug 29, 2022
349: Add PROBE_RUN_SPEED env variable r=Urhengulas a=haata

- Useful when wanting to set the SWD speed in your .cargo/config.toml

Co-authored-by: Jacob Alexander <[email protected]>
@Urhengulas
Copy link
Member

bors cancel

@bors
Copy link
Contributor

bors bot commented Aug 29, 2022

Canceled.

- Useful when wanting to set the SWD speed in your .cargo/config.toml
@Urhengulas
Copy link
Member

Thanks.

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 1, 2022

Build succeeded:

@bors bors bot merged commit 4445d86 into knurling-rs:main Sep 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants