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.
28 lines
320 B
Text
28 lines
320 B
Text
# Copyright (c) 2021 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
if BOARD_S40NC
|
|
|
|
config ZMK_KEYBOARD_NAME
|
|
default "S40NC"
|
|
|
|
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
|
|
|
|
endif # BOARD_S40NC
|