2018-06-20 15:21:45 -04:00
|
|
|
MCU_SERIES = m4
|
|
|
|
MCU_VARIANT = nrf52
|
|
|
|
MCU_SUB_VARIANT = nrf52840
|
2018-07-06 03:39:49 -04:00
|
|
|
SD ?= s140
|
2018-06-20 15:21:45 -04:00
|
|
|
SOFTDEV_VERSION ?= 6.0.0
|
|
|
|
|
2018-06-27 04:22:44 -04:00
|
|
|
BOOT_SETTING_ADDR = 0xFF000
|
2018-06-20 15:21:45 -04:00
|
|
|
|
2018-07-09 14:18:14 -04:00
|
|
|
ifeq ($(SD),)
|
|
|
|
LD_FILE = boards/nrf52840_1M_256k.ld
|
|
|
|
else
|
|
|
|
LD_FILE = boards/bluefruit_$(MCU_SUB_VARIANT)_$(SD_LOWER)_$(SOFTDEV_VERSION).ld
|
|
|
|
endif
|
|
|
|
|
2018-06-20 15:21:45 -04:00
|
|
|
NRF_DEFINES += -DNRF52840_XXAA
|