diff --git a/advanced/firmware/.cargo/config.toml b/advanced/firmware/.cargo/config.toml index 4c4601e..cb69dd2 100644 --- a/advanced/firmware/.cargo/config.toml +++ b/advanced/firmware/.cargo/config.toml @@ -7,7 +7,7 @@ rustflags = [ ] [target.thumbv7em-none-eabihf] -runner = "probe-run --chip nRF52840_xxAA" +runner = "probe-run --chip nRF52840_xxAA --erase-all" rustflags = [ "-C", "link-arg=-Tlink.x", ] diff --git a/beginner/apps/.cargo/config.toml b/beginner/apps/.cargo/config.toml index abfd4b6..3b17a22 100644 --- a/beginner/apps/.cargo/config.toml +++ b/beginner/apps/.cargo/config.toml @@ -9,7 +9,7 @@ rustflags = [ [target.thumbv7em-none-eabihf] # set custom cargo runner to flash & run on embedded target when we call `cargo run` # for more information, check out https://github.com/knurling-rs/probe-run -runner = "probe-run --chip nRF52840_xxAA" +runner = "probe-run --chip nRF52840_xxAA --erase-all" rustflags = [ "-C", "link-arg=-Tlink.x", ]