1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

boards/nrf52840-mdk: fix device type used with pyocd

This allows pyOCD to use the right memory values, especially flash size and pyOCD 0.14.1 has support for nrf52840.
This commit is contained in:
Alexandre Abadie 2019-03-24 15:45:08 +01:00
parent 6bbd3a5c27
commit e830462bf2
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -8,7 +8,7 @@ PROGRAMMER ?= pyocd
ifeq (pyocd,$(PROGRAMMER))
# The board is not recognized automatically by pyocd, so the CPU target
# option is passed explicitly
export FLASH_TARGET_TYPE ?= -t $(CPU)
export FLASH_TARGET_TYPE ?= -t nrf52840
include $(RIOTMAKE)/tools/pyocd.inc.mk
else ifeq (openocd,$(PROGRAMMER))
DEBUG_ADAPTER = dap