mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #13381 from benpicco/sam0-jlink-fix
makefiles/sam0.inc.mk: fix detection of JLinkExe
This commit is contained in:
commit
faa0afd8c1
@ -28,7 +28,7 @@ ifeq ($(DEBUG_ADAPTER),dap)
|
||||
PROGRAMMER ?= edbg
|
||||
else ifeq ($(DEBUG_ADAPTER),jlink)
|
||||
# only use JLinkExe if it's installed
|
||||
ifneq (,$(shell command -v JLinkExe))
|
||||
ifneq (,$(shell which JLinkExe))
|
||||
PROGRAMMER ?= jlink
|
||||
else
|
||||
PROGRAMMER ?= openocd
|
||||
|
Loading…
Reference in New Issue
Block a user