1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 18:13:49 +01:00

boards/common/cc26xx_cc13xx: improve default PROGRAMMER setting

Only default to uniflash as default programmer if UNIFLASH_PATH is
set. If this isn't the case, `make flash` fails complaining about
missing `UNIFLASH_PATH` anyway.
This commit is contained in:
Marian Buschsieweke 2022-06-03 21:44:19 +02:00
parent 6d39b3c993
commit ed83aa3883
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -1,5 +1,9 @@
# configure the flash tool
PROGRAMMER ?= uniflash
ifneq (,$(UNIFLASH_PATH))
PROGRAMMER ?= uniflash
else
PROGRAMMER ?= openocd
endif
# uniflash and openocd programmers are supported
PROGRAMMERS_SUPPORTED += openocd uniflash