55 lines
1.1 KiB
Plaintext
55 lines
1.1 KiB
Plaintext
|
#
|
||
|
# Copyright (c) 2023 The ZMK Contributors
|
||
|
# SPDX-License-Identifier: MIT
|
||
|
#
|
||
|
|
||
|
CONFIG_SOC_SERIES_NRF52X=y
|
||
|
CONFIG_SOC_NRF52840_QIAA=y
|
||
|
CONFIG_BOARD_ADV360PRO_RIGHT=y
|
||
|
|
||
|
# Enable MPU
|
||
|
CONFIG_ARM_MPU=y
|
||
|
|
||
|
# enable GPIO
|
||
|
CONFIG_GPIO=y
|
||
|
|
||
|
# Enable SPI for LEDS
|
||
|
CONFIG_PINCTRL=y
|
||
|
CONFIG_SPI=y
|
||
|
CONFIG_SPI_NRFX=y
|
||
|
|
||
|
# Enable writing to flash
|
||
|
CONFIG_USE_DT_CODE_PARTITION=y
|
||
|
CONFIG_MPU_ALLOW_FLASH_WRITE=y
|
||
|
CONFIG_NVS=y
|
||
|
CONFIG_SETTINGS_NVS=y
|
||
|
CONFIG_FLASH=y
|
||
|
CONFIG_FLASH_PAGE_LAYOUT=y
|
||
|
CONFIG_FLASH_MAP=y
|
||
|
|
||
|
# Enable 32kHz crystal
|
||
|
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y
|
||
|
CONFIG_CLOCK_CONTROL_NRF_K32SRC_150PPM=y
|
||
|
|
||
|
#RGB leds config
|
||
|
CONFIG_WS2812_STRIP=y
|
||
|
CONFIG_ZMK_RGB_UNDERGLOW=y
|
||
|
CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=y
|
||
|
CONFIG_ZMK_RGB_UNDERGLOW_ON_START=n
|
||
|
CONFIG_ZMK_RGB_UNDERGLOW_EFF_START=0
|
||
|
CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y
|
||
|
|
||
|
#Backlighting configuration
|
||
|
CONFIG_PWM=y
|
||
|
CONFIG_LED_PWM=y
|
||
|
CONFIG_ZMK_BACKLIGHT=y
|
||
|
CONFIG_ZMK_BACKLIGHT_BRT_START=20
|
||
|
CONFIG_ZMK_BACKLIGHT_AUTO_OFF_IDLE=y
|
||
|
|
||
|
#Misc configuration
|
||
|
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
||
|
CONFIG_ZMK_HID_REPORT_TYPE_NKRO=y
|
||
|
CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=y
|
||
|
CONFIG_BUILD_OUTPUT_UF2=y
|
||
|
CONFIG_ZMK_BLE=y
|