mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/nrf52dk: replace JLINK_FLASH_ADDR by global FLASH_ADDR variable
This commit is contained in:
parent
3b6fad4dde
commit
ce5f40abb3
@ -12,7 +12,7 @@ export JLINK_DEVICE := nrf52
|
||||
# special options when using SoftDevice
|
||||
ifneq (,$(filter nordic_softdevice_ble,$(USEPKG)))
|
||||
export JLINK_PRE_FLASH := erase\nloadfile $(BINDIR)/softdevice.hex
|
||||
export JLINK_FLASH_ADDR := 0x1f000
|
||||
export FLASH_ADDR := 0x1f000
|
||||
export LINKER_SCRIPT ?= $(RIOTCPU)/$(CPU)/ldscripts/$(CPU_MODEL)_sd.ld
|
||||
endif
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
|
@ -12,7 +12,7 @@ export JLINK_DEVICE := nrf52
|
||||
# special options when using SoftDevice
|
||||
ifneq (,$(filter nordic_softdevice_ble,$(USEPKG)))
|
||||
export JLINK_PRE_FLASH := erase\nloadfile $(BINDIR)/softdevice.hex
|
||||
export JLINK_FLASH_ADDR := 0x1f000
|
||||
export FLASH_ADDR := 0x1f000
|
||||
export LINKER_SCRIPT ?= $(RIOTCPU)/$(CPU)/ldscripts/$(CPU_MODEL)_sd.ld
|
||||
endif
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
|
Loading…
Reference in New Issue
Block a user