Skip to content

Commit 7424f50

Browse files
authored
Add make install-firmware command (#17)
1 parent b6c1890 commit 7424f50

File tree

3 files changed

+73
-1
lines changed

3 files changed

+73
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ coverage-reports/
99
tools/
1010
venv
1111
**/*.mpy
12+
firmware.uf2
1213

1314
# libs
1415
/lib/*

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pre-commit-install: uv
3131
@$(UVX) pre-commit install > /dev/null
3232

3333
.PHONY: sync-time
34-
sync-time: uv ## Syncs th time from your computer to the PROVES Kit board
34+
sync-time: uv ## Syncs the time from your computer to the PROVES Kit board
3535
$(UVX) --from git+https://github.com/proveskit/[email protected] sync-time
3636

3737
.PHONY: fmt
@@ -54,6 +54,11 @@ else
5454
$(call rsync_to_dest,artifacts/proves,$(BOARD_MOUNT_POINT))
5555
endif
5656

57+
# install-firmware
58+
.PHONY: install-firmware
59+
install-firmware: uv ## Install the board firmware onto a connected PROVES Kit
60+
@$(UVX) --from git+https://github.com/proveskit/[email protected] install-firmware v4
61+
5762
.PHONY: clean
5863
clean: ## Remove all gitignored files such as downloaded libraries and artifacts
5964
git clean -dfX

uv.lock

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)