Skip to content

Commit

Permalink
Merge pull request #13381 from benpicco/sam0-jlink-fix
Browse files Browse the repository at this point in the history
makefiles/sam0.inc.mk: fix detection of JLinkExe
  • Loading branch information
dylad committed Apr 14, 2020
2 parents a4f10a4 + e8d2486 commit faa0afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefiles/boards/sam0.inc.mk
Expand Up @@ -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
Expand Down

0 comments on commit faa0afd

Please sign in to comment.