Browse Source

refactor(Kconfig): Set USB default based on hardware capabilities

Removes the USB default under every split right half in favor of a default based on hardware capabilities in the main app Kconfig.
xmkb
Nick Winans 4 years ago committed by Pete Johanson
parent
commit
002a89765f
  1. 3
      app/Kconfig
  2. 3
      app/boards/shields/bfo9000/Kconfig.defconfig
  3. 3
      app/boards/shields/corne/Kconfig.defconfig
  4. 3
      app/boards/shields/cradio/Kconfig.defconfig
  5. 3
      app/boards/shields/helix/Kconfig.defconfig
  6. 3
      app/boards/shields/iris/Kconfig.defconfig
  7. 3
      app/boards/shields/jian/Kconfig.defconfig
  8. 3
      app/boards/shields/jorne/Kconfig.defconfig
  9. 3
      app/boards/shields/kyria/Kconfig.defconfig
  10. 3
      app/boards/shields/lily58/Kconfig.defconfig
  11. 3
      app/boards/shields/microdox/Kconfig.defconfig
  12. 3
      app/boards/shields/quefrency/Kconfig.defconfig
  13. 3
      app/boards/shields/sofle/Kconfig.defconfig
  14. 3
      app/boards/shields/splitreus62/Kconfig.defconfig

3
app/Kconfig

@ -361,6 +361,9 @@ config KERNEL_BIN_NAME
config REBOOT config REBOOT
default y default y
config USB
default y if HAS_HW_NRF_USBD
module = ZMK module = ZMK
module-str = zmk module-str = zmk
source "subsys/logging/Kconfig.template.log_config" source "subsys/logging/Kconfig.template.log_config"

3
app/boards/shields/bfo9000/Kconfig.defconfig

@ -16,9 +16,6 @@ if SHIELD_BFO9000_RIGHT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "BFO9000 Right" default "BFO9000 Right"
config USB
default y
endif endif
if SHIELD_BFO9000_LEFT || SHIELD_BFO9000_RIGHT if SHIELD_BFO9000_LEFT || SHIELD_BFO9000_RIGHT

3
app/boards/shields/corne/Kconfig.defconfig

@ -12,9 +12,6 @@ if SHIELD_CORNE_RIGHT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "Corne Right" default "Corne Right"
config USB
default y
endif endif

3
app/boards/shields/cradio/Kconfig.defconfig

@ -16,9 +16,6 @@ if SHIELD_CRADIO_RIGHT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "cradio right" default "cradio right"
config USB
default y
endif endif
if SHIELD_CRADIO_LEFT || SHIELD_CRADIO_RIGHT if SHIELD_CRADIO_LEFT || SHIELD_CRADIO_RIGHT

3
app/boards/shields/helix/Kconfig.defconfig

@ -16,9 +16,6 @@ if SHIELD_HELIX_RIGHT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "Helix Right" default "Helix Right"
config USB
default y
endif endif
if SHIELD_HELIX_LEFT || SHIELD_HELIX_RIGHT if SHIELD_HELIX_LEFT || SHIELD_HELIX_RIGHT

3
app/boards/shields/iris/Kconfig.defconfig

@ -16,9 +16,6 @@ if SHIELD_IRIS_RIGHT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "Iris Right" default "Iris Right"
config USB
default y
endif endif
if SHIELD_IRIS_LEFT || SHIELD_IRIS_RIGHT if SHIELD_IRIS_LEFT || SHIELD_IRIS_RIGHT

3
app/boards/shields/jian/Kconfig.defconfig

@ -14,9 +14,6 @@ if SHIELD_JIAN_RIGHT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "Jian Right" default "Jian Right"
config USB
default y
endif endif

3
app/boards/shields/jorne/Kconfig.defconfig

@ -14,9 +14,6 @@ if SHIELD_JORNE_RIGHT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "Jorne Right" default "Jorne Right"
config USB
default y
endif endif

3
app/boards/shields/kyria/Kconfig.defconfig

@ -15,9 +15,6 @@ if SHIELD_KYRIA_RIGHT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "Kyria Right" default "Kyria Right"
config USB
default y
endif endif
if SHIELD_KYRIA_LEFT || SHIELD_KYRIA_RIGHT if SHIELD_KYRIA_LEFT || SHIELD_KYRIA_RIGHT

3
app/boards/shields/lily58/Kconfig.defconfig

@ -14,9 +14,6 @@ if SHIELD_LILY58_RIGHT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "Lily58 Right" default "Lily58 Right"
config USB
default y
endif endif
if SHIELD_LILY58_LEFT || SHIELD_LILY58_RIGHT if SHIELD_LILY58_LEFT || SHIELD_LILY58_RIGHT

3
app/boards/shields/microdox/Kconfig.defconfig

@ -17,9 +17,6 @@ if SHIELD_MICRODOX_RIGHT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "Microdox Right" default "Microdox Right"
config USB
default y
endif endif
if SHIELD_MICRODOX_LEFT || SHIELD_MICRODOX_RIGHT if SHIELD_MICRODOX_LEFT || SHIELD_MICRODOX_RIGHT

3
app/boards/shields/quefrency/Kconfig.defconfig

@ -17,9 +17,6 @@ if SHIELD_QUEFRENCY_RIGHT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "Quefrency Right" default "Quefrency Right"
config USB
default y
endif endif
if SHIELD_QUEFRENCY_LEFT || SHIELD_QUEFRENCY_RIGHT if SHIELD_QUEFRENCY_LEFT || SHIELD_QUEFRENCY_RIGHT

3
app/boards/shields/sofle/Kconfig.defconfig

@ -16,9 +16,6 @@ if SHIELD_SOFLE_RIGHT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "Sofle Right" default "Sofle Right"
config USB
default y
endif endif
if SHIELD_SOFLE_LEFT || SHIELD_SOFLE_RIGHT if SHIELD_SOFLE_LEFT || SHIELD_SOFLE_RIGHT

3
app/boards/shields/splitreus62/Kconfig.defconfig

@ -18,9 +18,6 @@ if SHIELD_SPLITREUS62_RIGHT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "Splitreus62 Right" default "Splitreus62 Right"
config USB
default y
endif endif
if SHIELD_SPLITREUS62_LEFT || SHIELD_SPLITREUS62_RIGHT if SHIELD_SPLITREUS62_LEFT || SHIELD_SPLITREUS62_RIGHT

Loading…
Cancel
Save