Add build scripts
This commit is contained in:
parent
19a1f0eb12
commit
0b91f88050
3 changed files with 25 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
*.uf2
|
||||
*.hex
|
14
keychronV4.sh
Normal file
14
keychronV4.sh
Normal 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
9
macropad.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
(
|
||||
cd qmk
|
||||
make -j6 codemicro/macropad:codemicro
|
||||
cp codemicro_macropad_codemicro.uf2 ../
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue