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.
37 lines
575 B
Text
37 lines
575 B
Text
# Electronut Labs Papyr board configuration
|
|
|
|
# Copyright (c) 2020 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
if BOARD_NRFMICRO_11 || BOARD_NRFMICRO_11_FLIPPED || BOARD_NRFMICRO_13
|
|
|
|
config BOARD
|
|
default "nrfmicro"
|
|
|
|
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
|
|
|
|
config PINMUX
|
|
default y
|
|
|
|
if BOARD_NRFMICRO_13
|
|
|
|
config BOARD_NRFMICRO_CHARGER
|
|
default y
|
|
|
|
endif # BOARD_NRFMICRO_13
|
|
|
|
endif # BOARD_NRFMICRO_11 || BOARD_NRFMICRO_11_FLIPPED || BOARD_NRFMICRO_13
|