Skip to content

Commit

Permalink
boards/nrf52840-mdk: fix device type used with pyocd
Browse files Browse the repository at this point in the history
This allows pyOCD to use the right memory values, especially flash size and pyOCD 0.14.1 has support for nrf52840.
  • Loading branch information
aabadie committed Mar 24, 2019
1 parent 6bbd3a5 commit e830462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/nrf52840-mdk/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e830462

Please sign in to comment.