1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-29 16:31:18 +01:00

Merge pull request #9956 from cladmi/pr/make/edbg/fix_offset

edbg.inc.mk: handle IMAGE_OFFSET being defined with a space
This commit is contained in:
Francisco Acosta 2018-09-19 14:00:15 +02:00 committed by GitHub
commit 1fbd51f6f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ ifneq (,$(DEBUG_ADAPTER_ID))
endif
# Set offset according to IMAGE_OFFSET if it's defined
EDBG_ARGS += $(addprefix --offset ,$(IMAGE_OFFSET))
EDBG_ARGS += $(if $(IMAGE_OFFSET),--offset $(IMAGE_OFFSET))
FFLAGS ?= $(EDBG_ARGS) -t $(EDBG_DEVICE_TYPE) -b -v -p -f $(HEXFILE)