mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 01:52:45 +01:00
f256e48159
boards/common/{nrf52,cc26xx_cc13xx}: improve default programmer selection
18 lines
584 B
Makefile
18 lines
584 B
Makefile
# configure the flash tool
|
|
ifneq (,$(UNIFLASH_PATH))
|
|
PROGRAMMER ?= uniflash
|
|
else
|
|
PROGRAMMER ?= openocd
|
|
endif
|
|
|
|
# uniflash and openocd programmers are supported
|
|
PROGRAMMERS_SUPPORTED += openocd uniflash
|
|
|
|
# If port selection via ttys.py is enabled by `MOST_RECENT_PORT=1`, filter
|
|
# USB serials to only select the UART bridge of XDS110 debuggers, which is the
|
|
# embedded debugger of these launchpad boards.
|
|
TTY_BOARD_FILTER := --model XDS110 --iface-num 0
|
|
|
|
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/cc26xx_cc13xx/dist/openocd.cfg
|
|
UNIFLASH_CONFIG ?= $(RIOTBOARD)/common/cc26xx_cc13xx/dist
|