Skip to content

Commit 62ee7ad

Browse files
nvlsianpurlubos
authored andcommitted
[nrf noup] nrf_cleanup: nRF54l: disable cleanup on UARTE pins
Compile out code which does cleanup on UARTE pins as this cause issues on for some applications. ref.: NCSDK-33039 Signed-off-by: Andrzej Puzdrowski <[email protected]> (cherry picked from commit 083cab6)
1 parent e80f8ed commit 62ee7ad

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

boot/zephyr/nrf_cleanup.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ void nrf_cleanup_peripheral(void)
9797
nrfy_uarte_event_clear(current, NRF_UARTE_EVENT_RXTO);
9898
nrfy_uarte_disable(current);
9999

100+
#ifndef CONFIG_SOC_SERIES_NRF54LX
101+
/* Disconnect pins UARTE pins
102+
* causes issues on nRF54l SoCs,
103+
* could be enabled once fix to NCSDK-33039 will be implemented.
104+
*/
105+
100106
uint32_t pin[4];
101107

102108
pin[0] = nrfy_uarte_tx_pin_get(current);
@@ -111,6 +117,7 @@ void nrf_cleanup_peripheral(void)
111117
nrfy_gpio_cfg_default(pin[i]);
112118
}
113119
}
120+
#endif
114121

115122
#if defined(NRF_DPPIC)
116123
/* Clear all SUBSCRIBE configurations. */

0 commit comments

Comments
 (0)