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 <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2016-06-01 00:19:16 -07:00
commit 7da47626fb

View file

@ -1,3 +1,7 @@
ifdef CONFIG_SOC_SERIES_NRF52X
soc-cflags += -DNRF52
endif
obj-y += soc.o obj-y += soc.o
KERNEL_HEX_NAME = $(KERNEL_NAME).hex KERNEL_HEX_NAME = $(KERNEL_NAME).hex