Skip to content

Commit 0573ceb

Browse files
[nrf fromlist] soc: nordic: nrf54l: add conditional inclusion of GLITCHDET
GLITCHDET is not present on all nrf54l SoC. Upstream PR #: 94861 Signed-off-by: Michał Stasiak <[email protected]>
1 parent 9c146a3 commit 0573ceb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

soc/nordic/nrf54l/soc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ LOG_MODULE_REGISTER(soc, CONFIG_SOC_LOG_LEVEL);
2929
!defined(__ZEPHYR__)
3030

3131
#include <nrf_erratas.h>
32+
#if defined(GLITHCDET_PRESENT)
3233
#include <hal/nrf_glitchdet.h>
34+
#endif
3335
#include <hal/nrf_oscillators.h>
3436
#include <hal/nrf_power.h>
3537
#include <hal/nrf_regulators.h>

0 commit comments

Comments
 (0)