forked from solokeys/solo2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (32 loc) · 836 Bytes
/
Makefile
File metadata and controls
42 lines (32 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
RUNNER := runners/lpc55
.PHONY: \
build-dev \
bacon \
run-dev \
jlink \
mount-fs \
umount-fs \
check \
check-fmt \
check-clippy
build-dev:
make -C $(RUNNER) build-dev
bacon:
make -C $(RUNNER) bacon
run-dev:
make -C $(RUNNER) run-dev
jlink:
scripts/bump-jlink
JLinkGDBServer -strict -device LPC55S69 -if SWD -vd
mount-fs:
scripts/fuse-bee
umount-fs:
scripts/defuse-bee
check: check-fmt check-clippy
check-fmt:
cargo fmt --all --check
check-clippy:
cargo clippy --all-targets -- -D warnings
cd runners/lpc55 && cargo clippy --release --features board-lpcxpresso55 -- -D warnings
cd runners/lpc55 && cargo clippy --release --features board-solo2 -- -D warnings
cd runners/lpc55 && cargo clippy --release --features board-lpcxpresso55,provisioner-app,admin-app,provisioner-app/test-attestation -- -D warnings