#author("2026-02-22T17:30:27+09:00","default:ichinomoto","ichinomoto")
#author("2026-02-23T13:52:31+09:00","default:ichinomoto","ichinomoto")
[[自作キーボード]]

 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


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS