Skip to content

Commit 015643d

Browse files
soc: nordic: fix validate_base_addresses NRF_GPIOTE0 for radiocore
Map definition of NRF_GPIOTE0 to NRF_RADIOCORE_GPIOTE when MDK defines NRF_RADIOCORE_GPIOTE instead of NRF_GPIOTE0 Signed-off-by: Bjarki Arge Andreasen <[email protected]>
1 parent dd0db9b commit 015643d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

soc/nordic/validate_base_addresses.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@
8989
#endif
9090
#endif
9191

92+
#if !defined(NRF_GPIOTE0) && defined(NRF_RADIOCORE_GPIOTE)
93+
#define NRF_GPIOTE0 NRF_RADIOCORE_GPIOTE
94+
#endif
95+
9296
/**
9397
* Check that a devicetree node's "reg" base address matches the
9498
* correct value from the MDK.

0 commit comments

Comments
 (0)