Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 0 additions & 127 deletions flake.lock

This file was deleted.

97 changes: 0 additions & 97 deletions flake.nix

This file was deleted.

2 changes: 1 addition & 1 deletion neotron-bmc-nucleo/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
runner = "probe-run --chip STM32F401RETx"
runner = "probe-rs run --chip STM32F401RETx"
rustflags = [
"-C", "linker=flip-link",
"-C", "link-arg=-Tlink.x",
Expand Down
6 changes: 3 additions & 3 deletions neotron-bmc-nucleo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ This firmware runs on an ST Nucleo-F401RE, for development and debugging purpose
- see https://www.rust-lang.org
2. The `thumbv7em-none-eabi` target
- run `rustup target add target=thumbv7em-none-eabi`
3. `probe-run`
- run `cargo install probe-run` from your `$HOME` dir (not this folder!)
3. `probe-rs`
- See <https://probe.rs>
4. `flip-link`
- run `cargo install flip-link` from your `$HOME` dir (not this folder!)
- run `cargo install flip-link`

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

Expand Down
2 changes: 1 addition & 1 deletion neotron-bmc-nucleo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defmt::timestamp!("{=usize}", {
n
});

/// Terminates the application and makes `probe-run` exit with exit-code = 0
/// Terminates the application and makes `probe-rs` exit with exit-code = 0
pub fn exit() -> ! {
loop {
cortex_m::asm::bkpt();
Expand Down
2 changes: 1 addition & 1 deletion neotron-bmc-pico/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
runner = "probe-run --chip STM32F030K6Tx"
runner = "probe-rs run --chip STM32F030K6Tx"
rustflags = [
"-C", "linker=flip-link",
"-C", "link-arg=-Tlink.x",
Expand Down
4 changes: 2 additions & 2 deletions neotron-bmc-pico/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ The SPI interface runs in SPI mode 0 (clock line idles low, data sampled on risi
* see https://www.rust-lang.org
2. The `thumbv6m-none-eabi` target
* run `rustup target add thumbv6m-none-eabi`
3. `probe-run`
* run `cargo install probe-run`
3. `probe-rs`
* See <https://probe.rs>
4. `flip-link`
* run `cargo install flip-link`

Expand Down
2 changes: 1 addition & 1 deletion neotron-bmc-pico/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defmt::timestamp!("{=usize}", {
n
});

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