mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/calliope: use openocd as default programmer
This commit is contained in:
parent
fcd7f2233a
commit
8d03a83c2a
@ -5,18 +5,10 @@ export CPU_MODEL = nrf51x22xxab
|
||||
PORT_LINUX ?= /dev/ttyACM0
|
||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
|
||||
# this board supports flashing through plain fscopy, using JLink or using
|
||||
# openocd
|
||||
PROGRAMMER ?= fscopy
|
||||
# for this board we support flashing via openocd or pyocd
|
||||
PROGRAMMER ?= openocd
|
||||
|
||||
ifeq (fscopy,$(PROGRAMMER))
|
||||
FFLAGS = $(HEXFILE)
|
||||
DEBUGGER_FLAGS =
|
||||
|
||||
FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh
|
||||
DEBUGGER =
|
||||
DEBUGSERVER =
|
||||
else ifeq (openocd,$(PROGRAMMER))
|
||||
ifeq (openocd,$(PROGRAMMER))
|
||||
DEBUG_ADAPTER = dap
|
||||
else ifeq (pyocd,$(PROGRAMMER))
|
||||
# PyOCD doesn't recognize automatically the board ID, so target type has to
|
||||
|
Loading…
Reference in New Issue
Block a user