2021-02-09 23:37:26 +01:00
|
|
|
# configure the flash tool
|
2022-06-03 21:44:19 +02:00
|
|
|
ifneq (,$(UNIFLASH_PATH))
|
|
|
|
PROGRAMMER ?= uniflash
|
|
|
|
else
|
|
|
|
PROGRAMMER ?= openocd
|
|
|
|
endif
|
2021-02-09 23:37:26 +01:00
|
|
|
|
2021-02-16 17:44:24 +01:00
|
|
|
# uniflash and openocd programmers are supported
|
|
|
|
PROGRAMMERS_SUPPORTED += openocd uniflash
|
|
|
|
|
2022-06-03 19:17:59 +02:00
|
|
|
# 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
|
|
|
|
|
2021-02-09 23:37:26 +01:00
|
|
|
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/cc26xx_cc13xx/dist/openocd.cfg
|
|
|
|
UNIFLASH_CONFIG ?= $(RIOTBOARD)/common/cc26xx_cc13xx/dist
|