initial files
This commit is contained in:
parent
a7e857f7e1
commit
c96e61640e
6 changed files with 164 additions and 0 deletions
12
app/boards/arm/corne-ish_zen/Kconfig.board
Normal file
12
app/boards/arm/corne-ish_zen/Kconfig.board
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 Darryl deHaan
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
#
|
||||||
|
|
||||||
|
config BOARD_CORNEISH_ZEN_V2_LEFT
|
||||||
|
bool "corneish_zen_left"
|
||||||
|
depends on SOC_NRF52840_QIAA
|
||||||
|
|
||||||
|
config BOARD_CORNEISH_ZEN_V2_RIGHT
|
||||||
|
bool "corneish_zen_right"
|
||||||
|
depends on SOC_NRF52840_QIAA
|
111
app/boards/arm/corne-ish_zen/Kconfig.defconfig
Normal file
111
app/boards/arm/corne-ish_zen/Kconfig.defconfig
Normal file
|
@ -0,0 +1,111 @@
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 Darryl deHaan
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
#
|
||||||
|
|
||||||
|
if BOARD_CORNEISH_ZEN_V2_LEFT
|
||||||
|
|
||||||
|
config ZMK_KEYBOARD_NAME
|
||||||
|
default "Corne-ish Zen"
|
||||||
|
|
||||||
|
endif # BOARD_CORNEISH_ZEN_V2_LEFT
|
||||||
|
|
||||||
|
if BOARD_CORNEISH_ZEN_V2_RIGHT
|
||||||
|
|
||||||
|
config ZMK_KEYBOARD_NAME
|
||||||
|
default "Corne-ish Zen rt"
|
||||||
|
|
||||||
|
endif # BOARD_CORNEISH_ZEN_V2_RIGHT
|
||||||
|
|
||||||
|
|
||||||
|
if BOARD_CORNEISH_ZEN_V2_LEFT || BOARD_CORNEISH_ZEN_V2_RIGHT
|
||||||
|
|
||||||
|
config BOARD
|
||||||
|
default "corne-ish_zen"
|
||||||
|
|
||||||
|
config ZMK_SPLIT
|
||||||
|
default y
|
||||||
|
|
||||||
|
#config I2C
|
||||||
|
# bool
|
||||||
|
# default y
|
||||||
|
|
||||||
|
#config I2C_0
|
||||||
|
# bool
|
||||||
|
# default y
|
||||||
|
# depends on I2C
|
||||||
|
|
||||||
|
menuconfig SENSOR
|
||||||
|
bool "Sensor Drivers"
|
||||||
|
|
||||||
|
#config BQ274XX
|
||||||
|
# bool "BQ274xx Fuel Gauge"
|
||||||
|
# depends on I2C && SENSOR
|
||||||
|
|
||||||
|
config SENSOR_CAN_FETCH_ALL
|
||||||
|
bool "Can the fuel gauge fetch all channels at once"
|
||||||
|
default y
|
||||||
|
|
||||||
|
config SPI
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
config BT_CTLR
|
||||||
|
default BT
|
||||||
|
|
||||||
|
config ZMK_BLE
|
||||||
|
default y
|
||||||
|
|
||||||
|
config ZMK_USB
|
||||||
|
default y
|
||||||
|
|
||||||
|
if USB
|
||||||
|
|
||||||
|
config USB_NRFX
|
||||||
|
default y
|
||||||
|
|
||||||
|
config USB_DEVICE_STACK
|
||||||
|
default y
|
||||||
|
|
||||||
|
endif # USB
|
||||||
|
|
||||||
|
config ZMK_DISPLAY
|
||||||
|
select LVGL_USE_CONT
|
||||||
|
select LVGL_FONT_MONTSERRAT_26
|
||||||
|
select LVGL_FONT_MONTSERRAT_20
|
||||||
|
select LVGL_FONT_MONTSERRAT_16
|
||||||
|
select LVGL_USE_LABEL
|
||||||
|
select LVGL_USE_IMG
|
||||||
|
|
||||||
|
choice ZMK_DISPLAY_STATUS_SCREEN
|
||||||
|
default ZMK_DISPLAY_STATUS_SCREEN_CUSTOM
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
if ZMK_DISPLAY
|
||||||
|
|
||||||
|
config SPI
|
||||||
|
default y
|
||||||
|
|
||||||
|
config IL0323
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
#config DISPLAY_WOB
|
||||||
|
# bool "White on Black Display"
|
||||||
|
# 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"
|
||||||
|
|
||||||
|
# config CORNE_ISH_ZEN_20
|
||||||
|
# bool
|
||||||
|
|
||||||
|
endif # BOARD_CORNEISH_ZEN_V2_LEFT || BOARD_CORNEISH_ZEN_V2_RIGHT
|
5
app/boards/arm/corne-ish_zen/board.cmake
Normal file
5
app/boards/arm/corne-ish_zen/board.cmake
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
|
||||||
|
include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)
|
||||||
|
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
|
0
app/boards/arm/corne-ish_zen/corne-ish_zen.dtsi
Normal file
0
app/boards/arm/corne-ish_zen/corne-ish_zen.dtsi
Normal file
20
app/boards/arm/corne-ish_zen/corne-ish_zen.yaml
Normal file
20
app/boards/arm/corne-ish_zen/corne-ish_zen.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
identifier: corne-ish_zen_v2
|
||||||
|
name: Corne-ish Zen v2
|
||||||
|
url: https://lowprokb.ca/collections/keyboards/products/corne-ish-zen
|
||||||
|
type: mcu
|
||||||
|
arch: arm
|
||||||
|
toolchain:
|
||||||
|
- zephyr
|
||||||
|
- gnuarmemb
|
||||||
|
- xtools
|
||||||
|
ram: 40
|
||||||
|
supported:
|
||||||
|
- adc
|
||||||
|
- usb_device
|
||||||
|
- ble
|
||||||
|
- ieee802154
|
||||||
|
- pwm
|
||||||
|
- watchdog
|
||||||
|
- gpio
|
||||||
|
- i2c
|
||||||
|
- spi
|
16
app/boards/arm/corne-ish_zen/corne-ish_zen_v2.zmk.yml
Normal file
16
app/boards/arm/corne-ish_zen/corne-ish_zen_v2.zmk.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
file_format: "1"
|
||||||
|
id: corne-ish_zen_v2
|
||||||
|
name: Corne-ish Zen v2
|
||||||
|
url: https://lowprokb.ca/collections/keyboards/products/corne-ish-zen
|
||||||
|
type: board
|
||||||
|
arch: arm
|
||||||
|
features:
|
||||||
|
- keys
|
||||||
|
- display
|
||||||
|
outputs:
|
||||||
|
- usb
|
||||||
|
- ble
|
||||||
|
siblings:
|
||||||
|
- corneish_zen_left
|
||||||
|
- corneish_zen_right
|
||||||
|
|
Loading…
Add table
Reference in a new issue