mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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)))
|
||||
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"'
|
||||
|
||||
# Cannot use the 'ELFFILE' here
|
||||
|
@ -7,7 +7,7 @@ ifeq (openocd,$(PROGRAMMER))
|
||||
endif
|
||||
|
||||
# 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 $(RIOTBOARD)/common/kw41z/Makefile.include
|
||||
|
Loading…
Reference in New Issue
Block a user