diff options
author | jack <[email protected]> | 2022-12-27 17:35:15 -0700 |
---|---|---|
committer | jack <[email protected]> | 2022-12-27 17:35:15 -0700 |
commit | 86a6bbd42ba7dcb68efc398ac0f8d426364cef4a (patch) | |
tree | 90b190c6e7d630b89c4d43d989c0984a9e18ed96 | |
parent | 5cfebb4b08c16e644179522b6cbc82954ac3abf3 (diff) | |
download | zmk_build-86a6bbd42ba7dcb68efc398ac0f8d426364cef4a.tar.gz zmk_build-86a6bbd42ba7dcb68efc398ac0f8d426364cef4a.zip |
add settings reset
-rwxr-xr-x | build.sh | 13 | ||||
-rw-r--r-- | build.yaml | 4 |
2 files changed, 16 insertions, 1 deletions
@@ -28,7 +28,7 @@ fi echo -e "\n" PS3="choose keyboard to build: " -options=("corne" "corne-ish zen" "revxlp" "quit") +options=("corne" "corne-ish zen" "revxlp" "settings reset" "quit") select opt in "${options[@]}" do case $opt in @@ -80,6 +80,17 @@ do rm revxlp/revxlp.keymap break ;; + "settings reset") + echo "building settings reset firmware..." + test_uf2 + (cd ${ZMK_DIR}/app + west build -p -b nice_nano -- -DSHIELD=settings_reset + cp ${ZMK_DIR}/app/build/zephyr/zmk.uf2 ~/settings_reset_v1.uf2 + west build -p -b nice_nano_v2 -- -DSHIELD=settings_reset + cp ${ZMK_DIR}/app/build/zephyr/zmk.uf2 ~/settings_reset_v2.uf2 + ) + break + ;; "quit") break ;; @@ -4,3 +4,7 @@ include: shield: corne_left - board: nice_nano_v2 shield: corne_right + - board: nice_nano + shield: settings_reset + - board: nice_nano_v2 + shield: settings_reset |