Add missing JLink flashing bits
This commit is contained in:
@@ -214,10 +214,11 @@ flash: $(OUTPUT_BIN)
|
||||
@echo "FLASH $(OUTPUT_BIN)"
|
||||
$(STM32_PROG) --connect port=SWD reset=Hwrst -w $(OUTPUT_BIN) 0x8000000 -v --go
|
||||
|
||||
.PHONY: jlink
|
||||
jlink: $(OUTPUT_BIN)
|
||||
@echo "FLASH $(OUTPUT_BIN)"
|
||||
JLinkExe -device $$(echo $(DEVICE_TYPE) | tr '[:lower:]' '[:upper:]') -if SWD \
|
||||
-speed auto -autoconnect 1 -CommanderScript cmd.jlink
|
||||
-speed auto -autoconnect 1 -CommanderScript flash.jlink
|
||||
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
Reference in New Issue
Block a user