aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-nrf/CHANGELOG.md1
-rw-r--r--embassy-nrf/src/lib.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/embassy-nrf/CHANGELOG.md b/embassy-nrf/CHANGELOG.md
index c23613f19..94a5f4e4a 100644
--- a/embassy-nrf/CHANGELOG.md
+++ b/embassy-nrf/CHANGELOG.md
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19- added: support setting the duty cycles of all channels at once in `SimplePwm` 19- added: support setting the duty cycles of all channels at once in `SimplePwm`
20- changed: updated to nrf-pac with nrf52/nrf53/nrf91 register layout more similar to nrf54 20- changed: updated to nrf-pac with nrf52/nrf53/nrf91 register layout more similar to nrf54
21- added: support for nrf54l peripherals: uart, gpiote, twim, twis, spim, spis, dppi, pwm, saadc 21- added: support for nrf54l peripherals: uart, gpiote, twim, twis, spim, spis, dppi, pwm, saadc
22- bugfix: Do not write to UICR from non-secure code on nrf53
22 23
23## 0.8.0 - 2025-09-30 24## 0.8.0 - 2025-09-30
24 25
diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs
index 2f7505746..4c3b92a83 100644
--- a/embassy-nrf/src/lib.rs
+++ b/embassy-nrf/src/lib.rs
@@ -922,7 +922,7 @@ pub fn init(config: config::Config) -> Peripherals {
922 } 922 }
923 } 923 }
924 924
925 #[cfg(any(feature = "_nrf52", feature = "_nrf5340-app"))] 925 #[cfg(any(feature = "_nrf52", all(feature = "_nrf5340-app", feature = "_s")))]
926 unsafe { 926 unsafe {
927 let value = if cfg!(feature = "nfc-pins-as-gpio") { 0 } else { 1 }; 927 let value = if cfg!(feature = "nfc-pins-as-gpio") { 0 } else { 1 };
928 let res = uicr_write_masked(consts::UICR_NFCPINS, value, 1); 928 let res = uicr_write_masked(consts::UICR_NFCPINS, value, 1);