Skip to content

Commit d1de673

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 c04e127 commit d1de673

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
@@ -83,6 +83,10 @@
8383
#endif
8484
#endif
8585

86+
#if !defined(NRF_GPIOTE0) && defined(NRF_RADIOCORE_GPIOTE)
87+
#define NRF_GPIOTE0 NRF_RADIOCORE_GPIOTE
88+
#endif
89+
8690
/**
8791
* Check that a devicetree node's "reg" base address matches the
8892
* correct value from the MDK.

0 commit comments

Comments
 (0)