Skip to content

Commit

Permalink
tools/openocd: Fix handling of OPENOCD_CMD_RESET_HALT
Browse files Browse the repository at this point in the history
The OPENOCD_CMD_RESET_HALT was not longer correctly passed to the
script. This fixes the issue.
  • Loading branch information
maribu committed Apr 25, 2023
1 parent 8b58e55 commit f220c23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion makefiles/tools/openocd.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ endif

ifneq (,$(OPENOCD_CMD_RESET_HALT))
# Export OPENOCD_CMD_RESET_HALT only to the flash targets
$(call target-export-variables,flash%,OPENOCD_CMD_RESET_HALT)
$(call target-export-variables,flash,OPENOCD_CMD_RESET_HALT)
$(call target-export-variables,flash-only,OPENOCD_CMD_RESET_HALT)
endif

OPENOCD_DEBUG_TARGETS = debug debugr debug-server
Expand Down

0 comments on commit f220c23

Please sign in to comment.