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

Commit

Permalink
Merge pull request #565 from pierredelisle/pierred/issue-564
Browse files Browse the repository at this point in the history
Fix for issue #564: nrf5-app.mk does not consider JLINK_SN on targets…
  • Loading branch information
Jay Logue authored Apr 28, 2020
2 parents 27503bf + 8300c11 commit f2e5cdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/nrf5/nrf5-app.mk
Original file line number Diff line number Diff line change
Expand Up @@ -274,14 +274,14 @@ endef
flash-softdevice flash_softdevice :
@if test -z "$(SOFTDEVICE_IMAGE)"; then echo "SoftDevice image not found in $(SOFTDEVICE_IMAGE_DIR)"; false; fi
@echo "FLASH $(SOFTDEVICE_IMAGE)"
$(NO_ECHO)$(NRFJPROG) -f nrf52 --program $(SOFTDEVICE_IMAGE) --sectorerase
$(NO_ECHO)$(NRFJPROG) $(NRFJPROG_FLAGS) --program $(SOFTDEVICE_IMAGE) --sectorerase
@echo "RESET DEVICE"
$(NO_ECHO)$(NRFJPROG) -f nrf52 --reset
$(NO_ECHO)$(NRFJPROG) $(NRFJPROG_FLAGS) --reset

# Erase device
erase :
@echo "ERASE DEVICE"
$(NO_ECHO)$(NRFJPROG) -f nrf52 --eraseall
$(NO_ECHO)$(NRFJPROG) $(NRFJPROG_FLAGS) --eraseall

# Clean build output
clean ::
Expand Down

0 comments on commit f2e5cdb

Please sign in to comment.