2020-12-05 23:18:43 +00:00
|
|
|
# Copyright (c) 2020 The ZMK Contributors
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
# Enable Encoders
|
|
|
|
#CONFIG_EC11=y
|
|
|
|
#CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
|
|
|
|
|
|
|
|
# Enable underglow
|
|
|
|
#CONFIG_ZMK_RGB_UNDERGLOW=y
|
|
|
|
# Use the STRIP config specific to the LEDs you're using
|
|
|
|
#CONFIG_WS2812_STRIP=y
|
|
|
|
|
|
|
|
# Display
|
|
|
|
CONFIG_ZMK_DISPLAY=y
|
|
|
|
|
|
|
|
# Number of BT Profiles
|
|
|
|
CONFIG_BT_MAX_CONN=6
|
|
|
|
|
2020-12-14 18:22:35 +00:00
|
|
|
# Set screen blanking to 15s instead of 30s
|
2020-12-15 12:26:37 +00:00
|
|
|
CONFIG_ZMK_IDLE_TIMEOUT=15000
|
2020-12-14 18:22:35 +00:00
|
|
|
|
2020-12-19 22:34:40 +00:00
|
|
|
# Save settings after 10s instaed of 60s
|
|
|
|
#CONFIG_ZMK_SETTINGS_SAVE_DEBOUNCE=10000
|
|
|
|
|
2020-12-05 23:18:43 +00:00
|
|
|
################################################################################
|
|
|
|
# Debugging
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# Turn on logging, and set ZMK logging to debug output
|
|
|
|
CONFIG_LOG=y
|
|
|
|
CONFIG_ZMK_LOG_LEVEL_DBG=y
|
|
|
|
|
|
|
|
# Turn on USB CDC ACM device
|
|
|
|
CONFIG_USB=y
|
|
|
|
CONFIG_USB_DEVICE_STACK=y
|
|
|
|
CONFIG_USB_CDC_ACM=y
|
|
|
|
CONFIG_USB_CDC_ACM_RINGBUF_SIZE=1024
|
|
|
|
CONFIG_USB_CDC_ACM_DEVICE_NAME="CDC_ACM"
|
|
|
|
CONFIG_USB_CDC_ACM_DEVICE_COUNT=1
|
|
|
|
|
|
|
|
# Enable serial console
|
|
|
|
CONFIG_SERIAL=y
|
|
|
|
CONFIG_CONSOLE=y
|
|
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
|
|
CONFIG_UART_LINE_CTRL=y
|
|
|
|
|
|
|
|
# Enable USB UART, and set the console device
|
|
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
CONFIG_USB_UART_CONSOLE=y
|
|
|
|
CONFIG_UART_CONSOLE_ON_DEV_NAME="CDC_ACM_0"
|
|
|
|
|
|
|
|
# Sensor logging
|
2020-12-05 23:36:50 +00:00
|
|
|
CONFIG_SENSOR_LOG_LEVEL_DBG=y
|
2020-12-05 23:53:43 +00:00
|
|
|
#CONFIG_SENSOR_LOG_LEVEL=4
|
2020-12-05 23:36:50 +00:00
|
|
|
CONFIG_SENSOR_INIT_PRIORITY=90
|