11ab52582c
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.
31 lines
364 B
Text
31 lines
364 B
Text
# Copyright (c) 2021 Polarity Works
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
if BOARD_BT60_V1_HS || BOARD_BT60_V1
|
|
|
|
config BOARD
|
|
default "bt60"
|
|
|
|
if USB
|
|
|
|
config USB_NRFX
|
|
default y
|
|
|
|
config USB_DEVICE_STACK
|
|
default y
|
|
|
|
endif # USB
|
|
|
|
config BT_CTLR
|
|
default BT
|
|
|
|
config ZMK_BLE
|
|
default y
|
|
|
|
config ZMK_USB
|
|
default y
|
|
|
|
config ZMK_KEYBOARD_NAME
|
|
default "BT60"
|
|
|
|
endif # BOARD_BT60
|