Skip to content

Commit

Permalink
Merge pull request #9956 from cladmi/pr/make/edbg/fix_offset
Browse files Browse the repository at this point in the history
edbg.inc.mk: handle IMAGE_OFFSET being defined with a space
  • Loading branch information
kYc0o committed Sep 19, 2018
2 parents 3721f19 + 8a78355 commit 1fbd51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefiles/tools/edbg.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1fbd51f

Please sign in to comment.