embassy-rs / nrf-softdevice

Apache License 2.0
254 stars 74 forks source link

Could not execute process probe-run --chip nRF52840_xxAA #241

Closed tomvictor closed 4 months ago

tomvictor commented 4 months ago

I keep getting the same error, unable to find the exact root cause. Appreciate any suggestion to move forward !

cargo run --bin ble_bas_peripheral --features nrf52840
   Compiling nrf-softdevice-examples v0.1.0 (/Users/tomvictor/git/tom/embassy/ble/examples)
    Finished dev [unoptimized + debuginfo] target(s) in 0.25s
     Running `probe-run --chip nRF52840_xxAA /Users/tomvictor/git/tom/embassy/ble/target/thumbv7em-none-eabihf/debug/ble_bas_peripheral`
error: could not execute process `probe-run --chip nRF52840_xxAA /Users/tomvictor/git/tom/embassy/ble/target/thumbv7em-none-eabihf/debug/ble_bas_peripheral` (never executed)

Caused by:
  No such file or directory (os error 2)

Thanks

Dirbaio commented 4 months ago

cargo install probe-run

Dirbaio commented 4 months ago

actually the issue is the README tells you to install probe-rs, but the Cargo runner was still set to probe-run. I've fixed this in https://github.com/embassy-rs/nrf-softdevice/commit/182605bd9e5b90fa1a34534dd756a2fd674c1ab7 . Please update your git checkout and follow the instructions in the README, they should work now.

tomvictor commented 4 months ago

Thanks @Dirbaio for the quick reply and the fix. I really appreciate your efforts.