2019-10-09 14:25:12 -04:00
|
|
|
MCU_SERIES = m4
|
|
|
|
MCU_VARIANT = nrf52
|
|
|
|
MCU_SUB_VARIANT = nrf52840
|
|
|
|
SOFTDEV_VERSION = 6.1.1
|
2020-12-03 15:22:27 -05:00
|
|
|
|
|
|
|
DFU ?= 1
|
|
|
|
|
|
|
|
ifeq ($(DFU),1)
|
|
|
|
BOOTLOADER=open_bootloader
|
|
|
|
BOOTLOADER_VERSION_MAJOR=1
|
|
|
|
BOOTLOADER_VERSION_MINOR=2
|
|
|
|
FLASHER=nrfutil
|
|
|
|
else
|
|
|
|
FLASHER=segger
|
|
|
|
endif
|
|
|
|
|
2019-10-09 14:25:12 -04:00
|
|
|
LD_FILES += boards/nrf52840_1M_256k.ld
|
|
|
|
|
|
|
|
NRF_DEFINES += -DNRF52840_XXAA
|
2020-07-23 17:37:25 -04:00
|
|
|
|
|
|
|
MICROPY_VFS_LFS2 = 1
|