-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
12 lines (10 loc) · 963 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
smoketest: FORCE
mkdir -p out
tinygo build -o ./out/sg24-left.uf2 --target waveshare-rp2040-zero --size short --stack-size 8kb ./sg24/firmware/left/
tinygo build -o ./out/sg24-right.uf2 --target waveshare-rp2040-zero --size short --stack-size 8kb ./sg24/firmware/right/
tinygo build -o ./out/zero-kb02.uf2 --target waveshare-rp2040-zero --size short --stack-size 8kb --tags zero_kb02 ./zero-kb02/firmware/
tinygo build -o ./out/zero-kb02-invert.uf2 --target waveshare-rp2040-zero --size short --stack-size 8kb --tags zero_kb02,invert_rotary_pins ./zero-kb02/firmware/
tinygo build -o ./out/panel25.uf2 --target waveshare-rp2040-zero --size short --stack-size 8kb ./panel25/firmware/
FORCE:
gen-def-with-find:
find . -name vial.json | xargs -n 1 go run github.com/sago35/tinygo-keyboard/cmd/gen-def