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