mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #11407 from aabadie/pr/boards/calliope-mini-programmer
boards/calliope-mini: rework programmer config (openocd and pyocd)
This commit is contained in:
commit
b23fa61a8a
@ -17,7 +17,12 @@ ifeq (fscopy,$(PROGRAMMER))
|
||||
export DEBUGGER =
|
||||
export DEBUGSERVER =
|
||||
else ifeq (openocd,$(PROGRAMMER))
|
||||
DEBUG_ADAPTER = jlink
|
||||
DEBUG_ADAPTER = dap
|
||||
else ifeq (pyocd,$(PROGRAMMER))
|
||||
# PyOCD doesn't recognize automatically the board ID, so target type has to
|
||||
# be passed explicitly
|
||||
export FLASH_TARGET_TYPE ?= -t nrf51
|
||||
include $(RIOTMAKE)/tools/pyocd.inc.mk
|
||||
endif
|
||||
|
||||
# include nrf51 boards common configuration
|
||||
|
Loading…
Reference in New Issue
Block a user