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
252 B
Makefile
13 lines
252 B
Makefile
MCU_SERIES = m4
|
|
MCU_VARIANT = nrf52
|
|
MCU_SUB_VARIANT = nrf52840
|
|
SOFTDEV_VERSION ?= 6.0.0
|
|
|
|
ifeq ($(SD),)
|
|
LD_FILE = boards/nrf52840_1M_256k.ld
|
|
else
|
|
LD_FILE = boards/nrf52840_1M_256k_s140_$(SOFTDEV_VERSION).ld
|
|
endif
|
|
|
|
NRF_DEFINES += -DNRF52840_XXAA
|