nrf5: Adding target to flash bluetooth stack when using pyocd-flashtool.

This commit is contained in:
Glenn Ruben Bakke 2017-02-16 23:18:07 +01:00
parent 2fd55feb0c
commit 7ce31444a0

View File

@ -219,6 +219,11 @@ else ifeq ($(FLASHER), pyocd)
flash: $(BUILD)/firmware.elf
pyocd-flashtool -t $(MCU_VARIANT) $(BUILD)/firmware.hex
sd:
pyocd-flashtool -t $(MCU_VARIANT) --chip_erase
pyocd-flashtool -t $(MCU_VARIANT) $(SOFTDEV_HEX)
pyocd-flashtool -t $(MCU_VARIANT) $(BUILD)/firmware.hex
endif
$(BUILD)/firmware.elf: $(OBJ)