Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix outdated cli call #92

Merged
merged 2 commits into from
Oct 30, 2023
Merged

Conversation

daringer
Copy link
Contributor

The docs are outdated here, there is no more --list-chips - the equivalent seems to be probe-rs info.
This fixes: probe-rs/probe-rs#1736

@@ -36,7 +36,7 @@ cargo flash --release --chip <chip_name>

# Don't know if your target is supported
# by cargo flash and what it's name is?
cargo flash --list-chips
probe-rs info
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think probe-rs chip list would be a better match, probe-rs info will just show some information about the debug interface of a connected chip, but you can't figure out the target name with it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good to me, changed, pushed!

@@ -36,7 +36,7 @@ cargo flash --release --chip <chip_name>

# Don't know if your target is supported
# by cargo flash and what it's name is?
cargo flash --list-chips
probe-rs chip info
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probe-rs chip info still requires a name, probe-rs chip list will list all known chips.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naaah, sry :D next try incoming

Copy link
Member

@Tiwalun Tiwalun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Tiwalun Tiwalun merged commit 4510f4e into probe-rs:master Oct 30, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cargo-flash documentation references cargo flash --list-chips
2 participants