Skip to content

Commit 6cee4f5

Browse files
authored
Merge pull request #75 from Neotron-Compute/switch-to-probe-rs
Switch to probe-rs
2 parents db75219 + 348c7a5 commit 6cee4f5

File tree

8 files changed

+9
-233
lines changed

8 files changed

+9
-233
lines changed

flake.lock

Lines changed: 0 additions & 127 deletions
This file was deleted.

flake.nix

Lines changed: 0 additions & 97 deletions
This file was deleted.

neotron-bmc-nucleo/.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
2-
runner = "probe-run --chip STM32F401RETx"
2+
runner = "probe-rs run --chip STM32F401RETx"
33
rustflags = [
44
"-C", "linker=flip-link",
55
"-C", "link-arg=-Tlink.x",

neotron-bmc-nucleo/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ This firmware runs on an ST Nucleo-F401RE, for development and debugging purpose
4848
- see https://www.rust-lang.org
4949
2. The `thumbv7em-none-eabi` target
5050
- run `rustup target add target=thumbv7em-none-eabi`
51-
3. `probe-run`
52-
- run `cargo install probe-run` from your `$HOME` dir (not this folder!)
51+
3. `probe-rs`
52+
- See <https://probe.rs>
5353
4. `flip-link`
54-
- run `cargo install flip-link` from your `$HOME` dir (not this folder!)
54+
- run `cargo install flip-link`
5555

5656
Then to build and flash, connect a probe supported by probe-rs (such as a SEGGER J-Link, or an ST-Link) and run:
5757

neotron-bmc-nucleo/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmt::timestamp!("{=usize}", {
2323
n
2424
});
2525

26-
/// Terminates the application and makes `probe-run` exit with exit-code = 0
26+
/// Terminates the application and makes `probe-rs` exit with exit-code = 0
2727
pub fn exit() -> ! {
2828
loop {
2929
cortex_m::asm::bkpt();

neotron-bmc-pico/.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
2-
runner = "probe-run --chip STM32F030K6Tx"
2+
runner = "probe-rs run --chip STM32F030K6Tx"
33
rustflags = [
44
"-C", "linker=flip-link",
55
"-C", "link-arg=-Tlink.x",

neotron-bmc-pico/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ The SPI interface runs in SPI mode 0 (clock line idles low, data sampled on risi
6565
* see https://www.rust-lang.org
6666
2. The `thumbv6m-none-eabi` target
6767
* run `rustup target add thumbv6m-none-eabi`
68-
3. `probe-run`
69-
* run `cargo install probe-run`
68+
3. `probe-rs`
69+
* See <https://probe.rs>
7070
4. `flip-link`
7171
* run `cargo install flip-link`
7272

neotron-bmc-pico/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmt::timestamp!("{=usize}", {
2525
n
2626
});
2727

28-
/// Terminates the application and makes `probe-run` exit with exit-code = 0
28+
/// Terminates the application and makes `probe-rs` exit with exit-code = 0
2929
pub fn exit() -> ! {
3030
loop {
3131
cortex_m::asm::bkpt();

0 commit comments

Comments
 (0)