2020-05-18 00:45:46 -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
|
|
|
|
|
|
|
|
LD_FILES += boards/nrf52840_1M_256k.ld
|
2020-05-18 00:45:46 -04:00
|
|
|
|
|
|
|
NRF_DEFINES += -DNRF52840_XXAA
|
2020-07-23 17:37:25 -04:00
|
|
|
|
|
|
|
MICROPY_VFS_LFS2 = 1
|