CONFIG_ZMK_BATTERY_NRF_VDDH and CONFIG_ZMK_BATTERY_VOLTAGE_DIVIDER are now automatically enabled if a DT node with the matching "compatible" property is present and enabled, so they no longer need to be manually set for each board.
25 lines
305 B
Text
25 lines
305 B
Text
# Copyright (c) 2021 Nick Winans
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
if BOARD_NICE60
|
|
|
|
config ZMK_KEYBOARD_NAME
|
|
default "nice!60"
|
|
|
|
if USB_DEVICE_STACK
|
|
|
|
config USB_NRFX
|
|
default y
|
|
|
|
endif # USB_DEVICE_STACK
|
|
|
|
config BT_CTLR
|
|
default BT
|
|
|
|
config ZMK_BLE
|
|
default y
|
|
|
|
config ZMK_USB
|
|
default y
|
|
|
|
endif # BOARD_NICE60
|