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:
parent
6bbd3a5c27
commit
e830462bf2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user