probe-rs unable to find STM32F411CEUx but arduino can & successfully compile & build the blink example. I also installed the stm32cubeprogrammer && added rustup target. I am using MacOS. Please help. Thanks
Cargo.toml
[package]
name = "stm32-test"
version = "0.0.0"
edition = "2021"
[dependencies]
cortex-m-rt = "0.7.3"
panic-halt = "0.2.0"
config.toml
[build]
target = "thumbv7em-none-eabi"
[target.thumbv7em-none-eabi]
rustflags = ["-C", "link-arg=-Tlink.x"]
runner = "probe-rs run --chip STM32F411CEUx"
main.rs
#![no_std]
#![no_main]
use cortex_m_rt::entry;
use panic_halt as _;
#[entry]
fn main() -> ! {
loop {}
}
Issue
> cargo run
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
Running `probe-rs run --chip STM32F411CEUx target/thumbv7em-none-eabi/debug/stm32-test`
Error: No connected probes were found.