From 7da47626fbe4d51fa30ced97331e77d28f91af48 Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Wed, 1 Jun 2016 00:19:16 -0700 Subject: [PATCH] nrf52: Provide Nordic MDK compatible macro based on SoC series Translate CONFIG_SOC_SERIES_NRF52X to NRF52, which is the macro expected by the Nordic MDK headers. JIRA: ZEP-377 Change-Id: Ic846e4cddf8146ae9d96bc98d4b12311552dc4f6 Signed-off-by: Carles Cufi --- arch/arm/soc/nordic_nrf5/nrf52/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/soc/nordic_nrf5/nrf52/Makefile b/arch/arm/soc/nordic_nrf5/nrf52/Makefile index ffc1fe39b79..9ebb3f8c596 100644 --- a/arch/arm/soc/nordic_nrf5/nrf52/Makefile +++ b/arch/arm/soc/nordic_nrf5/nrf52/Makefile @@ -1,3 +1,7 @@ +ifdef CONFIG_SOC_SERIES_NRF52X +soc-cflags += -DNRF52 +endif + obj-y += soc.o KERNEL_HEX_NAME = $(KERNEL_NAME).hex