mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #5893 from jfbortolotti/nRF52_flashing
nRF52: Fix softdevice.hex flashing issue
This commit is contained in:
commit
ab2a255f5e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user