Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit f2e5cdb

Browse files
author
Jay Logue
authored
Merge pull request #565 from pierredelisle/pierred/issue-564
Fix for issue #564: nrf5-app.mk does not consider JLINK_SN on targets…
2 parents 27503bf + 8300c11 commit f2e5cdb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/nrf5/nrf5-app.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,14 +274,14 @@ endef
274274
flash-softdevice flash_softdevice :
275275
@if test -z "$(SOFTDEVICE_IMAGE)"; then echo "SoftDevice image not found in $(SOFTDEVICE_IMAGE_DIR)"; false; fi
276276
@echo "FLASH $(SOFTDEVICE_IMAGE)"
277-
$(NO_ECHO)$(NRFJPROG) -f nrf52 --program $(SOFTDEVICE_IMAGE) --sectorerase
277+
$(NO_ECHO)$(NRFJPROG) $(NRFJPROG_FLAGS) --program $(SOFTDEVICE_IMAGE) --sectorerase
278278
@echo "RESET DEVICE"
279-
$(NO_ECHO)$(NRFJPROG) -f nrf52 --reset
279+
$(NO_ECHO)$(NRFJPROG) $(NRFJPROG_FLAGS) --reset
280280

281281
# Erase device
282282
erase :
283283
@echo "ERASE DEVICE"
284-
$(NO_ECHO)$(NRFJPROG) -f nrf52 --eraseall
284+
$(NO_ECHO)$(NRFJPROG) $(NRFJPROG_FLAGS) --eraseall
285285

286286
# Clean build output
287287
clean ::

0 commit comments

Comments
 (0)