2016-12-13 15:38:39 -05:00
|
|
|
MCU_SERIES = m4
|
|
|
|
MCU_VARIANT = nrf52
|
2017-01-08 09:15:36 -05:00
|
|
|
MCU_SUB_VARIANT = nrf52840
|
2018-07-06 03:39:49 -04:00
|
|
|
SD ?= s140
|
2018-06-18 17:11:30 -04:00
|
|
|
SOFTDEV_VERSION ?= 6.0.0
|
2018-02-07 14:36:19 -05:00
|
|
|
|
2018-06-27 04:22:44 -04:00
|
|
|
BOOT_SETTING_ADDR = 0xFF000
|
2018-06-27 04:11:50 -04:00
|
|
|
BOOT_FILE = boards/$(BOARD)/bootloader/$(SOFTDEV_VERSION)/$(BOARD)_bootloader_$(SOFTDEV_VERSION)_s140
|
2016-12-13 15:38:39 -05: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
|
|
|
|
|
|
|
|
|
2017-01-08 09:15:36 -05:00
|
|
|
NRF_DEFINES += -DNRF52840_XXAA
|