This commit is contained in:
hathach
2020-01-17 12:06:59 +07:00
parent c3f4c75cfc
commit 3208fe00b6
2 changed files with 29 additions and 28 deletions

View File

@@ -120,6 +120,7 @@ endif
# Flash using jlink
flash-jlink: $(BUILD)/$(BOARD)-firmware.hex
@echo halt > $(BUILD)/$(BOARD).jlink
@echo r > $(BUILD)/$(BOARD).jlink
@echo loadfile $^ >> $(BUILD)/$(BOARD).jlink
@echo r >> $(BUILD)/$(BOARD).jlink
@echo go >> $(BUILD)/$(BOARD).jlink