1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tools/openocd: Fix handling of OPENOCD_CMD_RESET_HALT

The OPENOCD_CMD_RESET_HALT was not longer correctly passed to the
script. This fixes the issue.
This commit is contained in:
Marian Buschsieweke 2023-04-25 15:58:34 +02:00
parent 8b58e55580
commit f220c23c20
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

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