Browse Source

feat(docs): Add nice!nano v2 to scripts, actions, and documentation

asdf

asdf


asdf
xmkb
Nick Winans 3 years ago committed by Pete Johanson
parent
commit
9c1319c4ff
  1. 5
      .github/workflows/build.yml
  2. 2
      docs/docs/hardware.md
  3. 11
      docs/src/data/power.js
  4. 4
      docs/static/setup.ps1
  5. 9
      docs/static/setup.sh

5
.github/workflows/build.yml

@ -20,6 +20,7 @@ jobs: @@ -20,6 +20,7 @@ jobs:
board:
- bluemicro840_v1
- nice_nano
- nice_nano_v2
- nrfmicro_13
- proton_c
shield:
@ -69,11 +70,11 @@ jobs: @@ -69,11 +70,11 @@ jobs:
- board: planck_rev6
- board: proton_c
shield: clueboard_california
- board: nice_nano
- board: nice_nano_v2
shield: kyria_left
cmake-args: -DCONFIG_ZMK_DISPLAY=y
skip-archive: true
- board: nice_nano
- board: nice_nano_v2
shield: kyria_right
cmake-args: -DCONFIG_ZMK_DISPLAY=y
skip-archive: true

2
docs/docs/hardware.md

@ -15,7 +15,7 @@ That being said, there are currently only a few specific [boards](/docs/faq#what @@ -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`)

11
docs/src/data/power.js

@ -37,7 +37,7 @@ export const zmkBase = { @@ -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 = { @@ -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",

4
docs/static/setup.ps1 vendored

@ -75,8 +75,8 @@ $repo_path = "https://github.com/zmkfirmware/zmk-config-split-template.git" @@ -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 ""

9
docs/static/setup.sh vendored

@ -66,7 +66,7 @@ repo_path="https://github.com/zmkfirmware/zmk-config-split-template.git" @@ -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 @@ -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;;

Loading…
Cancel
Save