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

asdf

asdf


asdf
This commit is contained in:
Nick Winans 2021-07-15 17:16:33 -05:00 committed by Pete Johanson
parent edb3ff1bb1
commit 9c1319c4ff
5 changed files with 21 additions and 10 deletions

View file

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

View file

@ -15,7 +15,7 @@ That being said, there are currently only a few specific [boards](/docs/faq#what
## Boards ## 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`) - [nrfMicro](https://github.com/joric/nrfmicro) (`nrfmicro_13`, `nrfmicro_11`, `nrfmicro_11_flipped`)
- [BlueMicro840](https://store.jpconstantineau.com/#/group/bluemicro) (`bluemicro840_v1`) - [BlueMicro840](https://store.jpconstantineau.com/#/group/bluemicro) (`bluemicro840_v1`)
- [QMK Proton-C](https://qmk.fm/proton-c/) (`proton_c`) - [QMK Proton-C](https://qmk.fm/proton-c/) (`proton_c`)

View file

@ -37,7 +37,7 @@ export const zmkBase = {
*/ */
export const zmkBoards = { export const zmkBoards = {
"nice!nano": { "nice!nano": {
name: "nice!nano", name: "nice!nano v1",
powerSupply: { powerSupply: {
type: "LDO", type: "LDO",
outputVoltage: 3.3, outputVoltage: 3.3,
@ -45,6 +45,15 @@ export const zmkBoards = {
}, },
otherQuiescentMicroA: 4, otherQuiescentMicroA: 4,
}, },
"nice!nano v2": {
name: "nice!nano v2",
powerSupply: {
type: "LDO",
outputVoltage: 3.3,
quiescentMicroA: 15,
},
otherQuiescentMicroA: 3,
},
"nice!60": { "nice!60": {
powerSupply: { powerSupply: {
type: "SWITCHING", type: "SWITCHING",

View file

@ -75,8 +75,8 @@ $repo_path = "https://github.com/zmkfirmware/zmk-config-split-template.git"
$title = "ZMK Config Setup:" $title = "ZMK Config Setup:"
$prompt = "Pick an MCU board" $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"
$boards = "nice_nano", "proton_c", "bluemicro840_v1", "nrf52840_m2" $boards = "nice_nano", "nice_nano_v2", "proton_c", "bluemicro840_v1", "nrf52840_m2"
Write-Host "$title" Write-Host "$title"
Write-Host "" Write-Host ""

View file

@ -66,7 +66,7 @@ repo_path="https://github.com/zmkfirmware/zmk-config-split-template.git"
title="ZMK Config Setup:" title="ZMK Config Setup:"
prompt="Pick an MCU board:" 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 "$title"
echo "" echo ""
@ -77,9 +77,10 @@ select opt in "${options[@]}" "Quit"; do
case "$REPLY" in case "$REPLY" in
1 ) board="nice_nano"; break;; 1 ) board="nice_nano"; break;;
2 ) board="proton_c"; break;; 2 ) board="nice_nano_v2" break;;
3 ) board="bluemicro840_v1"; break;; 3 ) board="proton_c"; break;;
4 ) board="nrf52840_m2"; break;; 4 ) board="bluemicro840_v1"; break;;
5 ) board="nrf52840_m2"; break;;
$(( ${#options[@]}+1 )) ) echo "Goodbye!"; exit 1;; $(( ${#options[@]}+1 )) ) echo "Goodbye!"; exit 1;;
*) echo "Invalid option. Try another one."; continue;; *) echo "Invalid option. Try another one."; continue;;