summaryrefslogtreecommitdiff
path: root/docs
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
parentedb3ff1bb15cc2ad800010bd2819a9fe4aec548f (diff)
feat(docs): Add nice!nano v2 to scripts, actions, and documentation
asdf asdf asdf
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/hardware.md2
-rw-r--r--docs/src/data/power.js11
-rw-r--r--docs/static/setup.ps14
-rw-r--r--docs/static/setup.sh9
4 files changed, 18 insertions, 8 deletions
diff --git a/docs/docs/hardware.md b/docs/docs/hardware.md
index 797acd0..210587b 100644
--- a/docs/docs/hardware.md
+++ b/docs/docs/hardware.md
@@ -15,7 +15,7 @@ That being said, there are currently only a few specific [boards](/docs/faq#what
## Boards
-- [nice!nano](https://nicekeyboards.com/products/nice-nano-v1-0) (`nice_nano`)
+- [nice!nano](https://nicekeyboards.com/nice-nano) (`nice_nano`, `nice_nano_v2`)
- [nrfMicro](https://github.com/joric/nrfmicro) (`nrfmicro_13`, `nrfmicro_11`, `nrfmicro_11_flipped`)
- [BlueMicro840](https://store.jpconstantineau.com/#/group/bluemicro) (`bluemicro840_v1`)
- [QMK Proton-C](https://qmk.fm/proton-c/) (`proton_c`)
diff --git a/docs/src/data/power.js b/docs/src/data/power.js
index bf34f17..5fe5912 100644
--- a/docs/src/data/power.js
+++ b/docs/src/data/power.js
@@ -37,7 +37,7 @@ export const zmkBase = {
*/
export const zmkBoards = {
"nice!nano": {
- name: "nice!nano",
+ name: "nice!nano v1",
powerSupply: {
type: "LDO",
outputVoltage: 3.3,
@@ -45,6 +45,15 @@ export const zmkBoards = {
},
otherQuiescentMicroA: 4,
},
+ "nice!nano v2": {
+ name: "nice!nano v2",
+ powerSupply: {
+ type: "LDO",
+ outputVoltage: 3.3,
+ quiescentMicroA: 15,
+ },
+ otherQuiescentMicroA: 3,
+ },
"nice!60": {
powerSupply: {
type: "SWITCHING",
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;;