Add build scripts

This commit is contained in:
akp 2024-06-20 20:09:19 +01:00
parent 19a1f0eb12
commit 0b91f88050
No known key found for this signature in database
GPG key ID: CF8D58F3DEB20755
3 changed files with 25 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.uf2
*.hex

14
keychronV4.sh Normal file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -ex
(
cd qmk
(
cd keyboards/keychron/v4/iso/keymaps/codemicro
qmk json2c keymap.json > keymap.c
)
make -j6 keychron/v4/iso:codemicro:flash
)

9
macropad.sh Normal file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -ex
(
cd qmk
make -j6 codemicro/macropad:codemicro
cp codemicro_macropad_codemicro.uf2 ../
)