diff options
| author | nerwalt <[email protected]> | 2025-08-08 11:03:36 -0600 |
|---|---|---|
| committer | nerwalt <[email protected]> | 2025-08-08 11:03:36 -0600 |
| commit | 1d08cde6e45c900fad970d07529296f9850c3dff (patch) | |
| tree | a62c447a3c1f58a758271dd6f62e44b32a0d7815 /examples/nrf54l15 | |
| parent | adc0fc0a974476e0424077c2cf6c652e6c42ea86 (diff) | |
Fixes broken NS build
Diffstat (limited to 'examples/nrf54l15')
| -rw-r--r-- | examples/nrf54l15/src/bin/wdt.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/nrf54l15/src/bin/wdt.rs b/examples/nrf54l15/src/bin/wdt.rs index 28856dad4..9fe37d080 100644 --- a/examples/nrf54l15/src/bin/wdt.rs +++ b/examples/nrf54l15/src/bin/wdt.rs | |||
| @@ -21,8 +21,9 @@ async fn main(_spawner: Spawner) { | |||
| 21 | // in the WDT interrupt. The core resets 2 ticks after firing the interrupt. | 21 | // in the WDT interrupt. The core resets 2 ticks after firing the interrupt. |
| 22 | config.action_during_debug_halt = HaltConfig::PAUSE; | 22 | config.action_during_debug_halt = HaltConfig::PAUSE; |
| 23 | 23 | ||
| 24 | // The nrf54l15 has two watchdogs. Only WDT0 is available in non-secure (ns) mode, as WDT1 is | 24 | // The nrf54l15 has two watchdogs. Only one (WDT) is available in non-secure (ns) mode, as the |
| 25 | // reserved for the secure (s) environment. In secure mode, both WDT0 and WDT1 are available. | 25 | // other is reserved for the secure (s) environment. In secure mode, both are available as WDT0 |
| 26 | // and WDT1. | ||
| 26 | info!("Watchdog launched with {} s timeout", TIMEOUT_S); | 27 | info!("Watchdog launched with {} s timeout", TIMEOUT_S); |
| 27 | let (_wdt, [mut handle]) = match Watchdog::try_new(p.WDT1, config) { | 28 | let (_wdt, [mut handle]) = match Watchdog::try_new(p.WDT1, config) { |
| 28 | Ok(x) => x, | 29 | Ok(x) => x, |
