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

makefiles/openocd: remove DEBUG_ADAPTER and PRE_FLASH_CHECK_SCRIPT vars

This commit is contained in:
Alexandre Abadie 2022-01-08 12:05:46 +01:00
parent 135e0a6ca1
commit 9eec6f4eb1
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -9,17 +9,6 @@ DEBUGGER_FLAGS ?= debug $(ELFFILE)
DEBUGSERVER_FLAGS ?= debug-server
RESET_FLAGS ?= reset
# Warn about deprecated variables
ifneq (,$(DEBUG_ADAPTER))
$(warning Warning! DEBUG_ADAPTER is deprecated use OPENOCD_DEBUG_ADAPTER)
OPENOCD_DEBUG_ADAPTER ?= $(DEBUG_ADAPTER)
endif
ifneq (,$(PRE_FLASH_CHECK_SCRIPT))
$(warning Warning! PRE_FLASH_CHECK_SCRIPT is deprecated use OPENOCD_PRE_FLASH_CHECK_SCRIPT)
OPENOCD_PRE_FLASH_CHECK_SCRIPT ?= $(PRE_FLASH_CHECK_SCRIPT)
endif
ifneq (,$(OPENOCD_DEBUG_ADAPTER))
include $(RIOTMAKE)/tools/openocd-adapters/$(OPENOCD_DEBUG_ADAPTER).inc.mk
OPENOCD_ADAPTER_INIT += -c 'transport select $(OPENOCD_TRANSPORT)'