fix(usb): Tweak how ZMK_USB gets enabled.

* Previous version of multiple overrides of the default value of ZMK_USB
  were problematic. Move to using board _defconfig files for the
  defaults for those, along with proper `depends on` for ZMK_USB that
  accounts for split and split roles.
This commit is contained in:
Peter Johanson
2023-11-13 11:00:28 -08:00
committed by Pete Johanson
parent 7b4b5d4ff2
commit 964c54139d
50 changed files with 85 additions and 105 deletions

View File

@@ -8,9 +8,6 @@ if BOARD_PREONIC_REV3
config ZMK_KEYBOARD_NAME
default "Preonic V3"
config ZMK_USB
default y
config ZMK_KSCAN_MATRIX_POLLING
default y

View File

@@ -13,3 +13,5 @@ CONFIG_GPIO=y
# clock configuration
CONFIG_CLOCK_CONTROL=y
CONFIG_ZMK_USB=y