-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Found the flash-st and flash-jlink target in makefile are quite handy for daily jobs.
Lines 55 to 67 in 79d6508
| flash-st: build | |
| st-flash --reset write $(FIRMWARE) 0x08000000 | |
| $(BUILD_DIR)/jlink-script: | |
| touch $@ | |
| @echo device $(DEVICE) > $@ | |
| @echo si 1 >> $@ | |
| @echo speed 4000 >> $@ | |
| @echo loadfile $(FIRMWARE),0x08000000 >> $@ | |
| @echo -e "r\ng\nqc" >> $@ | |
| flash-jlink: build | $(BUILD_DIR)/jlink-script | |
| JLinkExe -commanderScript $(BUILD_DIR)/jlink-script |
So I was wondering, how can we achieve the same thing in CMake process?
Metadata
Metadata
Assignees
Labels
No labels