rp-rs / rp-hal-boards

Board Support Packages for RP2040 based PCBs
211 stars 87 forks source link

Update probe-run list-probes command in README #22

Closed nmarley closed 1 year ago

nmarley commented 1 year ago

Hi, I noticed when I followed the current instructions in the README to use probe-run, I got an error:

probe-run --chip RP2040 --list-probes
error: the argument '--chip <CHIP>' cannot be used with '--list-probes'

Usage: probe-run --chip <CHIP> <ELF>

For more information, try '--help'.

I'm on macOS Monterey 12.6.5 (21G531) and currently here's my version from probe-run:

probe-run --version
0.3.8
supported defmt version: 4

Once I removed the --chip argument I got this:

probe-run --list-probes
the following probes were found:
[0]: Picoprobe CMSIS-DAP (VID: 2e8a, PID: 000c, Serial: E6616408438E3C21, CmsisDap)

I am guessing this is the intended behaviour, and that the --chip and --list-probes arguments no longer work together.

jannic commented 1 year ago

The pipeline error is unrelated. I hope it'll be fixed by https://github.com/rp-rs/rp-hal-boards/pull/23.