git clone https://github.com/ichinomoto/zmk cd zmk python -m venv venv .\venv\Scripts\activate pip install west west init -l app/ west update west zephyr-export west packages pip --install cd app git clone https://github.com/keyfreaks/zmk-config-LiNEA40 python -m venv venv source venv/bin/activate pip install west west init -l config west update west zephyr-export zephyr sdkを入れる必要がある west build -s zmk/app -b nice_nano_v2 -d build-left -- -DSHIELD=<shield_left> west build -s zmk/app -b nice_nano_v2 -d build-right -- -DSHIELD=<shield_right> cd zmk/app west build -d build/left -b seeeduino_xiao_ble -DSHIELD=LiNEA40_left -DZMK_CONFIG="../../config" west build -d build/left -b seeeduino_xiao_ble -- -DSHIELD=LiNEA40_left -DZMK_CONFIG="../../config" dockerを使う brew install colima docker /.docker/config.json に {
"credsStore": "desktop"
}
があったら消す docker run --rm -it -v "$PWD:/work" -w /work zmkfirmware/zmk-dev-arm:stable bash west update west zephyr-export west build -s zmk/app -b seeeduino_xiao_ble -d build/left -- -DSHIELD=LiNEA40_left -DZMK_CONFIG=/work/config cp build/left/zephyr/zmk.uf2 build/LiNEA40_left.uf2 west build -s zmk/app -b seeeduino_xiao_ble -d build/right -- -DSHIELD=LiNEA40_right -DZMK_CONFIG=/work/config cp build/right/zephyr/zmk.uf2 build/LiNEA40_right.uf2 |