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:
parent
a6119ac9b6
commit
7da47626fb
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue