boards*: don't export OPENOCD_PRE_FLASH_CMDS
This commit is contained in:
parent
fcecd6e362
commit
f2aa38c8f9
@ -40,7 +40,7 @@ else ifeq (openocd,$(PROGRAMMER))
|
|||||||
ifneq (,$(filter nordic_softdevice_ble,$(USEPKG)))
|
ifneq (,$(filter nordic_softdevice_ble,$(USEPKG)))
|
||||||
LINKER_SCRIPT ?= $(RIOTCPU)/$(CPU)/ldscripts/$(CPU_MODEL)_sd.ld
|
LINKER_SCRIPT ?= $(RIOTCPU)/$(CPU)/ldscripts/$(CPU_MODEL)_sd.ld
|
||||||
|
|
||||||
export OPENOCD_PRE_FLASH_CMDS += -c 'flash write_image erase "$(BINDIR)/softdevice.hex"'
|
OPENOCD_PRE_FLASH_CMDS += -c 'flash write_image erase "$(BINDIR)/softdevice.hex"'
|
||||||
OPENOCD_PRE_VERIFY_CMDS += -c 'verify_image "$(BINDIR)/softdevice.hex"'
|
OPENOCD_PRE_VERIFY_CMDS += -c 'verify_image "$(BINDIR)/softdevice.hex"'
|
||||||
|
|
||||||
# Cannot use the 'ELFFILE' here
|
# Cannot use the 'ELFFILE' here
|
||||||
|
|||||||
@ -7,7 +7,7 @@ ifeq (openocd,$(PROGRAMMER))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Enable direct write to FCF (required for setting FOPT byte).
|
# Enable direct write to FCF (required for setting FOPT byte).
|
||||||
export OPENOCD_PRE_FLASH_CMDS += "-c kinetis fcf_source write"
|
OPENOCD_PRE_FLASH_CMDS += "-c kinetis fcf_source write"
|
||||||
|
|
||||||
# Include default FRDM board config
|
# Include default FRDM board config
|
||||||
include $(RIOTBOARD)/common/kw41z/Makefile.include
|
include $(RIOTBOARD)/common/kw41z/Makefile.include
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user