2018-06-20 15:21:45 -04:00
|
|
|
MCU_SERIES = m4
|
|
|
|
MCU_VARIANT = nrf52
|
|
|
|
MCU_SUB_VARIANT = nrf52840
|
2018-08-30 21:42:25 -04:00
|
|
|
MCU_CHIP = nrf52840
|
2018-07-06 03:39:49 -04:00
|
|
|
SD ?= s140
|
2018-08-22 10:51:30 -04:00
|
|
|
SOFTDEV_VERSION ?= 6.1.0
|
2018-06-20 15:21:45 -04:00
|
|
|
|
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
|
2018-08-21 04:24:05 -04:00
|
|
|
LD_FILE = boards/adafruit_$(MCU_SUB_VARIANT)_$(SD_LOWER)_v$(firstword $(subst ., ,$(SOFTDEV_VERSION))).ld
|
2018-07-09 14:18:14 -04:00
|
|
|
endif
|
|
|
|
|
2018-08-30 21:42:25 -04:00
|
|
|
NRF_DEFINES += -DNRF52840_XXAA -DNRF52840
|