-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add common update target * clean up program: erase: and bootloader: targets
- Loading branch information
Showing
10 changed files
with
47 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,7 @@ | ||
program.protocol := $($(PROGRAMMER).program.protocol) | ||
program.speed := $($(PROGRAMMER).program.speed) | ||
program.extra_params := $($(PROGRAMMER).program.extra_params) | ||
$(call define-prefix-variables,$(PROGRAMMER)) | ||
|
||
upload program erase bootloader: path = $(tools.$(upload.tool).path) | ||
upload program erase bootloader: cmd.path = $(tools.$(upload.tool).cmd.path) | ||
upload program erase bootloader: config.path = $(tools.$(upload.tool).config.path) | ||
upload: prebuild $(SKETCH_BIN) | ||
$(tools.$(upload.tool).upload.pattern) | ||
|
||
program erase bootloader: protocol = $(program.protocol) | ||
program: $(SKETCH_BIN) | ||
$(tools.$(upload.tool).program.pattern) | ||
|
||
erase: | ||
$(tools.$(upload.tool).erase.pattern) | ||
|
||
bootloader: | ||
$(tools.$(upload.tool).bootloader.pattern) | ||
|
||
.PHONY: upload program erase bootloader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters