From 2d1652c53268ef1ac36b8d7ea6be9bf31dd79586 Mon Sep 17 00:00:00 2001 From: Matthew Tran <0e4ef622@gmail.com> Date: Thu, 22 May 2025 23:53:18 -0500 Subject: [PATCH] nrf: Enable TEMP driver for nrf5340-net --- embassy-nrf/src/chips/nrf5340_net.rs | 3 +++ embassy-nrf/src/lib.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/embassy-nrf/src/chips/nrf5340_net.rs b/embassy-nrf/src/chips/nrf5340_net.rs index c2932be31..d4c3e5353 100644 --- a/embassy-nrf/src/chips/nrf5340_net.rs +++ b/embassy-nrf/src/chips/nrf5340_net.rs @@ -201,6 +201,9 @@ embassy_hal_internal::peripherals! { // EGU EGU0, + + // TEMP + TEMP, } impl_ipc!(IPC, IPC, IPC); diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs index 398bfed48..9d44ae7e6 100644 --- a/embassy-nrf/src/lib.rs +++ b/embassy-nrf/src/lib.rs @@ -149,7 +149,7 @@ pub mod spim; #[cfg(not(feature = "_nrf51"))] pub mod spis; #[cfg(not(feature = "_nrf54l"))] // TODO -#[cfg(not(any(feature = "_nrf5340", feature = "_nrf91")))] +#[cfg(not(any(feature = "_nrf5340-app", feature = "_nrf91")))] pub mod temp; #[cfg(not(feature = "_nrf54l"))] // TODO pub mod timer;