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

@@ -9,7 +9,4 @@ config ZMK_KEYBOARD_NAME
config RP2_FLASH_W25Q080
default y
config ZMK_USB
default y
endif # BOARD_KBDFANS_TOFU65_V2

View File

@@ -18,3 +18,5 @@ CONFIG_USE_DT_CODE_PARTITION=y
# Output UF2 by default, native bootloader supports it.
CONFIG_BUILD_OUTPUT_UF2=y
CONFIG_ZMK_USB=y