ff918556cd
With the only difference between a SD and non-SD build is the linker file, there's no need to have two separate .mk per board files, just use a conditional.
13 lines
251 B
Makefile
13 lines
251 B
Makefile
MCU_SERIES = m4
|
|
MCU_VARIANT = nrf52
|
|
MCU_SUB_VARIANT = nrf52
|
|
SOFTDEV_VERSION ?= 5.0.0
|
|
|
|
ifeq ($(SD),)
|
|
LD_FILE = boards/nrf52832_512k_64k.ld
|
|
else
|
|
LD_FILE = boards/nrf52832_512k_64k_s132_$(SOFTDEV_VERSION).ld
|
|
endif
|
|
|
|
NRF_DEFINES += -DNRF52832_XXAA
|