summaryrefslogtreecommitdiff
path: root/docs/static
diff options
context:
space:
mode:
authorNick Winans <nick@winans.codes>2021-07-15 17:16:33 -0500
committerPete Johanson <peter@peterjohanson.com>2021-07-15 18:52:28 -0400
commit9c1319c4ff37f71e7437219b0f65d045c6971e93 (patch)
treeec391eb5fbc4275f833470381807060056a101ff /docs/static
parentedb3ff1bb15cc2ad800010bd2819a9fe4aec548f (diff)
feat(docs): Add nice!nano v2 to scripts, actions, and documentation
asdf asdf asdf
Diffstat (limited to 'docs/static')
-rw-r--r--docs/static/setup.ps14
-rw-r--r--docs/static/setup.sh9
2 files changed, 7 insertions, 6 deletions
diff --git a/docs/static/setup.ps1 b/docs/static/setup.ps1
index bcea9f7..307b402 100644
--- a/docs/static/setup.ps1
+++ b/docs/static/setup.ps1
@@ -75,8 +75,8 @@ $repo_path = "https://github.com/zmkfirmware/zmk-config-split-template.git"
$title = "ZMK Config Setup:"
$prompt = "Pick an MCU board"
-$options = "nice!nano", "QMK Proton-C", "BlueMicro840 (v1)", "makerdiary nRF52840 M.2"
-$boards = "nice_nano", "proton_c", "bluemicro840_v1", "nrf52840_m2"
+$options = "nice!nano v1", "nice!nano v2", "QMK Proton-C", "BlueMicro840 (v1)", "makerdiary nRF52840 M.2"
+$boards = "nice_nano", "nice_nano_v2", "proton_c", "bluemicro840_v1", "nrf52840_m2"
Write-Host "$title"
Write-Host ""
diff --git a/docs/static/setup.sh b/docs/static/setup.sh
index 2078ff3..88949f3 100644
--- a/docs/static/setup.sh
+++ b/docs/static/setup.sh
@@ -66,7 +66,7 @@ repo_path="https://github.com/zmkfirmware/zmk-config-split-template.git"
title="ZMK Config Setup:"
prompt="Pick an MCU board:"
-options=("nice!nano" "QMK Proton-C" "BlueMicro840 (v1)" "makerdiary nRF52840 M.2")
+options=("nice!nano v1" "nice!nano v2" "QMK Proton-C" "BlueMicro840 (v1)" "makerdiary nRF52840 M.2")
echo "$title"
echo ""
@@ -77,9 +77,10 @@ select opt in "${options[@]}" "Quit"; do
case "$REPLY" in
1 ) board="nice_nano"; break;;
- 2 ) board="proton_c"; break;;
- 3 ) board="bluemicro840_v1"; break;;
- 4 ) board="nrf52840_m2"; break;;
+ 2 ) board="nice_nano_v2" break;;
+ 3 ) board="proton_c"; break;;
+ 4 ) board="bluemicro840_v1"; break;;
+ 5 ) board="nrf52840_m2"; break;;
$(( ${#options[@]}+1 )) ) echo "Goodbye!"; exit 1;;
*) echo "Invalid option. Try another one."; continue;;