nRF52 Fix softdevice.hex flashing issue

This commit is contained in:
Jeff Bortolotti 2016-09-29 22:02:36 +02:00
parent d33786d0c7
commit fd87e3dae8

View File

@ -14,7 +14,7 @@ export JLINK_DEVICE := nrf52
# special options when using SoftDevice
ifneq (,$(filter nordic_softdevice_ble,$(USEPKG)))
export JLINK_PRE_FLASH := loadfile $(BINDIR)/softdevice.hex
export JLINK_PRE_FLASH := erase\nloadfile $(BINDIR)/softdevice.hex
export JLINK_FLASH_ADDR := 0x1f000
export LINKER_SCRIPT ?= $(RIOTCPU)/$(CPU)/ldscripts/$(CPU_MODEL)_sd.ld
endif