diff options
Diffstat (limited to 'embassy-nrf/src/lib.rs')
| -rw-r--r-- | embassy-nrf/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs index 691545662..d23759f9d 100644 --- a/embassy-nrf/src/lib.rs +++ b/embassy-nrf/src/lib.rs | |||
| @@ -410,13 +410,13 @@ pub fn init(config: config::Config) -> Peripherals { | |||
| 410 | warn!( | 410 | warn!( |
| 411 | "You have requested enabling chip reset functionality on the reset pin, by not enabling the Cargo feature `reset-pin-as-gpio`.\n\ | 411 | "You have requested enabling chip reset functionality on the reset pin, by not enabling the Cargo feature `reset-pin-as-gpio`.\n\ |
| 412 | However, UICR is already programmed to some other setting, and can't be changed without erasing it.\n\ | 412 | However, UICR is already programmed to some other setting, and can't be changed without erasing it.\n\ |
| 413 | To fix this, erase UICR manually, for example using `probe-rs-cli erase` or `nrfjprog --eraseuicr`." | 413 | To fix this, erase UICR manually, for example using `probe-rs erase` or `nrfjprog --eraseuicr`." |
| 414 | ); | 414 | ); |
| 415 | #[cfg(feature = "reset-pin-as-gpio")] | 415 | #[cfg(feature = "reset-pin-as-gpio")] |
| 416 | warn!( | 416 | warn!( |
| 417 | "You have requested using the reset pin as GPIO, by enabling the Cargo feature `reset-pin-as-gpio`.\n\ | 417 | "You have requested using the reset pin as GPIO, by enabling the Cargo feature `reset-pin-as-gpio`.\n\ |
| 418 | However, UICR is already programmed to some other setting, and can't be changed without erasing it.\n\ | 418 | However, UICR is already programmed to some other setting, and can't be changed without erasing it.\n\ |
| 419 | To fix this, erase UICR manually, for example using `probe-rs-cli erase` or `nrfjprog --eraseuicr`." | 419 | To fix this, erase UICR manually, for example using `probe-rs erase` or `nrfjprog --eraseuicr`." |
| 420 | ); | 420 | ); |
| 421 | } | 421 | } |
| 422 | } | 422 | } |
| @@ -432,7 +432,7 @@ pub fn init(config: config::Config) -> Peripherals { | |||
| 432 | warn!( | 432 | warn!( |
| 433 | "You have requested to use P0.09 and P0.10 pins for NFC, by not enabling the Cargo feature `nfc-pins-as-gpio`.\n\ | 433 | "You have requested to use P0.09 and P0.10 pins for NFC, by not enabling the Cargo feature `nfc-pins-as-gpio`.\n\ |
| 434 | However, UICR is already programmed to some other setting, and can't be changed without erasing it.\n\ | 434 | However, UICR is already programmed to some other setting, and can't be changed without erasing it.\n\ |
| 435 | To fix this, erase UICR manually, for example using `probe-rs-cli erase` or `nrfjprog --eraseuicr`." | 435 | To fix this, erase UICR manually, for example using `probe-rs erase` or `nrfjprog --eraseuicr`." |
| 436 | ); | 436 | ); |
| 437 | } | 437 | } |
| 438 | } | 438 | } |
