add revision info to mikoto.zmk.yml
This commit is contained in:
parent
efa9134eaa
commit
0d1ea70f7e
4 changed files with 25 additions and 0 deletions
|
@ -8,3 +8,8 @@ outputs:
|
|||
- ble
|
||||
url: https://github.com/zhiayang/mikoto
|
||||
exposes: [pro_micro]
|
||||
revisions:
|
||||
- "5.20"
|
||||
- "7.1"
|
||||
- "7.3"
|
||||
default_revision: "5.20"
|
||||
|
|
20
app/build.sh
Executable file
20
app/build.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
pristine=""
|
||||
if [ $# -gt 0 ] && [ "$1" = "-p" -o "$1" = "--pristine" ]; then
|
||||
pristine="--pristine"
|
||||
fi
|
||||
|
||||
COMMON_ARGS=(
|
||||
"-DZEPHYR_TOOLCHAIN_VARIANT=zephyr"
|
||||
"-DZEPHYR_SDK_INSTALL_DIR=/opt/pacman/opt/zephyr-sdk"
|
||||
"-DZMK_CONFIG=$(pwd)/../../zmk-config/config"
|
||||
"-Wno-dev"
|
||||
)
|
||||
|
||||
set -x
|
||||
|
||||
west build -d build/left -b mikoto_520 ${pristine} -- -DSHIELD=misaka_left "${COMMON_ARGS[@]}" && mv build/left/zephyr/zmk.uf2 ./left.uf2
|
||||
west build -d build/right -b mikoto_520 ${pristine} -- -DSHIELD=misaka_right "${COMMON_ARGS[@]}" && mv build/right/zephyr/zmk.uf2 ./right.uf2
|
||||
|
||||
|
BIN
app/left.uf2
Normal file
BIN
app/left.uf2
Normal file
Binary file not shown.
BIN
app/right.uf2
Normal file
BIN
app/right.uf2
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue