-
Notifications
You must be signed in to change notification settings - Fork 135
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
cargo runner error: unexpected argument
#583
Comments
Hi!
Can you point me to where this is in the book? |
https://esp-rs.github.io/book/troubleshooting/espflash.html
|
That statement does not apply to you: This is not your case, you are not building an |
I will close the issue, should you have more questions feel free to post them here or in the matrix room |
Using the template
esp-rs/esp-template
to create a project defaults to usingespflash
. However the "Rust on ESP book" says thatcargo-espflash
should be preferred. After installingcargo-espflash
and trying to switch to it, it generates an error:From the following runner config in
config.toml
:Looking at the
--help
of the two commands, it seems there is a difference in thatespflash
takes a path to an image as a positional argument, whilecargo-espflash
does not. It also does not appear that any of the flags (e.g.--bin
) accept the path thatcargo
gives it.Can we get some documentation on how to properly integrate
cargo-espflash
into the cargo config as a runner?The text was updated successfully, but these errors were encountered: