2022-12-16 08:57:25 -08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2022 Darryl deHaan
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
#
|
|
|
|
|
2022-12-16 17:39:24 -08:00
|
|
|
if BOARD_CORNEISH_ZEN_LEFT
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
config ZMK_KEYBOARD_NAME
|
2023-04-22 21:25:56 -07:00
|
|
|
default "Corne-ish Zen"
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
config ZMK_SPLIT_ROLE_CENTRAL
|
2023-04-22 21:25:56 -07:00
|
|
|
default y
|
2022-12-16 08:57:25 -08:00
|
|
|
|
2022-12-16 17:39:24 -08:00
|
|
|
endif # BOARD_CORNEISH_ZEN_LEFT
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
|
2022-12-16 17:39:24 -08:00
|
|
|
if BOARD_CORNEISH_ZEN_LEFT || BOARD_CORNEISH_ZEN_RIGHT
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
config BOARD
|
2023-04-22 21:25:56 -07:00
|
|
|
default "corneish_zen"
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
config ZMK_SPLIT
|
2023-04-22 21:25:56 -07:00
|
|
|
default y
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
config BT_CTLR
|
2023-04-22 21:25:56 -07:00
|
|
|
default BT
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
if USB
|
|
|
|
|
|
|
|
config USB_NRFX
|
2023-04-22 21:25:56 -07:00
|
|
|
default y
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
config USB_DEVICE_STACK
|
2023-04-22 21:25:56 -07:00
|
|
|
default y
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
endif # USB
|
|
|
|
|
|
|
|
config ZMK_DISPLAY
|
2023-04-22 21:25:56 -07:00
|
|
|
select LV_USE_CONT
|
|
|
|
select LV_FONT_MONTSERRAT_26
|
|
|
|
select LV_FONT_MONTSERRAT_16
|
|
|
|
select LV_USE_LABEL
|
|
|
|
select LV_USE_IMG
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
choice ZMK_DISPLAY_STATUS_SCREEN
|
2023-04-22 21:25:56 -07:00
|
|
|
default ZMK_DISPLAY_STATUS_SCREEN_CUSTOM
|
2022-12-16 08:57:25 -08:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
if ZMK_DISPLAY
|
|
|
|
|
|
|
|
config SPI
|
2023-04-22 21:25:56 -07:00
|
|
|
default y
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
config IL0323
|
2023-04-22 21:25:56 -07:00
|
|
|
default y
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
config ZMK_DISPLAY_BLANK_ON_IDLE
|
2023-04-22 21:25:56 -07:00
|
|
|
default n
|
2022-12-16 08:57:25 -08:00
|
|
|
|
2024-02-05 13:12:18 -08:00
|
|
|
# Needed for the IL0323 driver which allocs memory to clear the display
|
|
|
|
config HEAP_MEM_POOL_SIZE
|
|
|
|
default 1024
|
|
|
|
|
|
|
|
config LV_Z_MEM_POOL_SIZE
|
|
|
|
default 4096
|
|
|
|
|
2022-12-16 08:57:25 -08:00
|
|
|
endif # ZMK_DISPLAY
|
|
|
|
|
|
|
|
menuconfig CUSTOM_WIDGET_BATTERY_STATUS
|
2023-04-22 21:25:56 -07:00
|
|
|
bool "custom battery status widget"
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
menuconfig CUSTOM_WIDGET_OUTPUT_STATUS
|
2023-04-22 21:25:56 -07:00
|
|
|
bool "custom output status widget"
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
menuconfig CUSTOM_WIDGET_LAYER_STATUS
|
2023-04-22 21:25:56 -07:00
|
|
|
bool "custom layer status widget"
|
2022-12-16 08:57:25 -08:00
|
|
|
|
|
|
|
menuconfig CUSTOM_WIDGET_PERIPHERAL_STATUS
|
2023-04-22 21:25:56 -07:00
|
|
|
bool "custom peripheral status widget"
|
2022-12-16 08:57:25 -08:00
|
|
|
|
2022-12-16 17:39:24 -08:00
|
|
|
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
|