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:
parent
6d39b3c993
commit
ed83aa3883
@ -1,5 +1,9 @@
|
|||||||
# configure the flash tool
|
# configure the flash tool
|
||||||
PROGRAMMER ?= uniflash
|
ifneq (,$(UNIFLASH_PATH))
|
||||||
|
PROGRAMMER ?= uniflash
|
||||||
|
else
|
||||||
|
PROGRAMMER ?= openocd
|
||||||
|
endif
|
||||||
|
|
||||||
# uniflash and openocd programmers are supported
|
# uniflash and openocd programmers are supported
|
||||||
PROGRAMMERS_SUPPORTED += openocd uniflash
|
PROGRAMMERS_SUPPORTED += openocd uniflash
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user