From f87afa4d27314dc653273b42f68498e7382db971 Mon Sep 17 00:00:00 2001 From: Nathan Rashleigh Date: Mon, 29 Jun 2026 17:35:31 +1000 Subject: [PATCH] don --- .cargo/config.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 654e59b..232d501 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,5 +1,8 @@ [target.'cfg(all(target_arch = "arm", target_os = "none"))'] -runner = "probe-rs run --chip STM32F411VETx" +# --no-catch-reset: don't trap the reset vector, so pressing the board's NRST +# button re-runs the firmware instead of ending the session with an Exception. +# (hardfault catch stays on by default, so panics still produce a backtrace.) +runner = "probe-rs run --chip STM32F411VETx --no-catch-reset" rustflags = [ # LLD (shipped with the Rust toolchain) is used as the default linker