Skip to content

Commit f5c06e9

Browse files
Vge0rgetomi-font
authored andcommitted
platform: nordic_nrf: Fix build issue for nRF54L15
Fix minor building issue when building upstream TF-M. Change-Id: Ifa0b8ccfedf8f3cb2fa20713a339c0eafbd91cdd Signed-off-by: Georgios Vasilakis <[email protected]> (cherry picked from commit feaf99a)
1 parent 25dff73 commit f5c06e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

platform/ext/target/nordic_nrf/common/nrf54l15/nrf54l15_init.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
#include <hal/nrf_oscillators.h>
1010
#include <nrf_erratas.h>
1111

12+
#ifndef BIT_MASK
13+
/* Use Zephyr BIT_MASK for unasigned integers */
14+
#define BIT_MASK(n) ((1UL << (n)) - 1UL)
15+
#endif
16+
1217
/* This handler needs to be ported to the upstream TF-M project when Cracen is supported there.
1318
* The implementation of this is currently in sdk-nrf. We define it to avoid warnings when we build
1419
* the target_cfg.c file which is the same for both upsteam TF-M and sdk-nrf.

0 commit comments

Comments
 (0)