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.
This commit is contained in:
Nick Winans 2021-01-08 15:32:55 -06:00 committed by Pete Johanson
parent af563e9dbc
commit 002a89765f
14 changed files with 3 additions and 39 deletions

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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