knurling-rs / probe-run

Run embedded programs just like native ones
Apache License 2.0
646 stars 75 forks source link

Add PROBE_RUN_SPEED env variable #349

Closed haata closed 1 year ago

haata commented 2 years ago
Urhengulas commented 2 years ago

@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 commented 2 years ago

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 commented 1 year ago

bors r+

Urhengulas commented 1 year ago

bors cancel

bors[bot] commented 1 year ago

Canceled.

Urhengulas commented 1 year ago

Thanks.

bors r+

bors[bot] commented 1 year ago

Build succeeded: