1
0
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:
Dylan Laduranty 2020-04-14 20:29:43 +02:00 committed by GitHub
commit faa0afd8c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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