Cargo config.toml [target.xxxxx] runner

[target.riscv32imc-esp-espidf]
runner = "cargo espflash --monitor"

when this runs the output/binary is passed as an argument but this causes issues.

cargo espflash --monitor target\riscv32imc-esp-espidf\debug\hello-world

all I want is "cargo espflash --monitor"

How can I remove the output/binary argument?

You could write a wrapper script that ignores arguments and just runs that command.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.