boards*: don't export OPENOCD_PRE_FLASH_CMDS

This commit is contained in:
Alexandre Abadie 2020-03-26 09:30:37 +01:00
parent fcecd6e362
commit f2aa38c8f9
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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