2018-10-19 18:46:22 -07:00
|
|
|
USB_VID = 0x239A
|
|
|
|
USB_PID = 0x802A
|
|
|
|
USB_PRODUCT = "PCA10056"
|
|
|
|
USB_MANUFACTURER = "Nordic Semiconductor"
|
|
|
|
|
2016-12-13 21:38:39 +01:00
|
|
|
MCU_SERIES = m4
|
|
|
|
MCU_VARIANT = nrf52
|
2017-01-08 15:15:36 +01:00
|
|
|
MCU_SUB_VARIANT = nrf52840
|
2018-08-30 21:42:25 -04:00
|
|
|
MCU_CHIP = nrf52840
|
2018-07-06 14:39:49 +07:00
|
|
|
SD ?= s140
|
2018-08-22 21:51:30 +07:00
|
|
|
SOFTDEV_VERSION ?= 6.1.0
|
2018-02-07 20:36:19 +01:00
|
|
|
|
2018-06-27 15:22:44 +07:00
|
|
|
BOOT_SETTING_ADDR = 0xFF000
|
2016-12-13 21:38:39 +01:00
|
|
|
|
2018-07-10 01:18:14 +07:00
|
|
|
ifeq ($(SD),)
|
|
|
|
LD_FILE = boards/nrf52840_1M_256k.ld
|
|
|
|
else
|
2018-08-21 15:24:05 +07:00
|
|
|
LD_FILE = boards/adafruit_$(MCU_SUB_VARIANT)_$(SD_LOWER)_v$(firstword $(subst ., ,$(SOFTDEV_VERSION))).ld
|
2019-02-15 18:55:10 -05:00
|
|
|
CIRCUITPY_BLEIO = 1
|
2018-07-10 01:18:14 +07:00
|
|
|
endif
|
|
|
|
|
2018-08-30 21:42:25 -04:00
|
|
|
NRF_DEFINES += -DNRF52840_XXAA -DNRF52840
|
2018-10-19 18:46:22 -07:00
|
|
|
|
|
|
|
QSPI_FLASH_FILESYSTEM = 1
|
|
|
|
EXTERNAL_FLASH_DEVICE_COUNT = 1
|
|
|
|
EXTERNAL_FLASH_DEVICES = "MX25R6435F"
|