forked from LOWPROKB/zmk-config-zen-2
-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5159d32
commit bfa94a1
Showing
3 changed files
with
115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# | ||
# Copyright (c) 2022 The ZMK Contributors | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
config BOARD_CORNEISH_ZEN_LEFT | ||
bool | ||
|
||
config BOARD_CORNEISH_ZEN_RIGHT | ||
bool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# Copyright (c) 2022 Darryl deHaan | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
config BOARD_CORNEISH_ZEN_V1_LEFT | ||
bool "corneish zen left v1" | ||
depends on SOC_NRF52840_QIAA | ||
select BOARD_CORNEISH_ZEN_LEFT | ||
|
||
config BOARD_CORNEISH_ZEN_V1_RIGHT | ||
bool "corneish zen right v1" | ||
depends on SOC_NRF52840_QIAA | ||
select BOARD_CORNEISH_ZEN_RIGHT | ||
|
||
config BOARD_CORNEISH_ZEN_V2_LEFT | ||
bool "corneish zen left v2" | ||
depends on SOC_NRF52840_QIAA | ||
select BOARD_CORNEISH_ZEN_LEFT | ||
|
||
config BOARD_CORNEISH_ZEN_V2_RIGHT | ||
bool "corneish zen right v2" | ||
depends on SOC_NRF52840_QIAA | ||
select BOARD_CORNEISH_ZEN_RIGHT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# | ||
# Copyright (c) 2022 Darryl deHaan | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
if BOARD_CORNEISH_ZEN_LEFT | ||
|
||
config ZMK_KEYBOARD_NAME | ||
default "Corne-ish Zen" | ||
|
||
config ZMK_SPLIT_ROLE_CENTRAL | ||
default y | ||
|
||
endif # BOARD_CORNEISH_ZEN_LEFT | ||
|
||
|
||
if BOARD_CORNEISH_ZEN_LEFT || BOARD_CORNEISH_ZEN_RIGHT | ||
|
||
config BOARD | ||
default "corneish_zen" | ||
|
||
config ZMK_SPLIT | ||
default y | ||
|
||
config BT_CTLR | ||
default BT | ||
|
||
if USB | ||
|
||
config USB_NRFX | ||
default y | ||
|
||
config USB_DEVICE_STACK | ||
default y | ||
|
||
endif # USB | ||
|
||
config ZMK_DISPLAY | ||
select LV_USE_CONT | ||
select LV_FONT_MONTSERRAT_26 | ||
select LV_FONT_MONTSERRAT_16 | ||
select LV_USE_LABEL | ||
select LV_USE_IMG | ||
|
||
choice ZMK_DISPLAY_STATUS_SCREEN | ||
default ZMK_DISPLAY_STATUS_SCREEN_CUSTOM | ||
endchoice | ||
|
||
if ZMK_DISPLAY | ||
|
||
config SPI | ||
default y | ||
|
||
config IL0323 | ||
default y | ||
|
||
config ZMK_DISPLAY_BLANK_ON_IDLE | ||
default n | ||
|
||
endif # ZMK_DISPLAY | ||
|
||
menuconfig CUSTOM_WIDGET_BATTERY_STATUS | ||
bool "custom battery status widget" | ||
|
||
menuconfig CUSTOM_WIDGET_OUTPUT_STATUS | ||
bool "custom output status widget" | ||
|
||
menuconfig CUSTOM_WIDGET_LAYER_STATUS | ||
bool "custom layer status widget" | ||
|
||
menuconfig CUSTOM_WIDGET_PERIPHERAL_STATUS | ||
bool "custom peripheral status widget" | ||
|
||
endif # BOARD_CORNEISH_ZEN_LEFT || BOARD_CORNEISH_ZEN_RIGHT | ||
|
||
if BOARD_CORNEISH_ZEN_V1_LEFT || BOARD_CORNEISH_ZEN_V1_RIGHT | ||
|
||
config BQ274XX | ||
default y | ||
|
||
endif # BOARD_CORNEISH_ZEN_V1_LEFT || BOARD_CORNEISH_ZEN_V1_RIGHT |