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:
parent
af563e9dbc
commit
002a89765f
14 changed files with 3 additions and 39 deletions
|
@ -361,6 +361,9 @@ config KERNEL_BIN_NAME
|
|||
config REBOOT
|
||||
default y
|
||||
|
||||
config USB
|
||||
default y if HAS_HW_NRF_USBD
|
||||
|
||||
module = ZMK
|
||||
module-str = zmk
|
||||
source "subsys/logging/Kconfig.template.log_config"
|
||||
|
|
|
@ -16,9 +16,6 @@ if SHIELD_BFO9000_RIGHT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "BFO9000 Right"
|
||||
|
||||
config USB
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_BFO9000_LEFT || SHIELD_BFO9000_RIGHT
|
||||
|
|
|
@ -12,9 +12,6 @@ if SHIELD_CORNE_RIGHT
|
|||
|
||||
config ZMK_KEYBOARD_NAME
|
||||
default "Corne Right"
|
||||
|
||||
config USB
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
|
|
|
@ -16,9 +16,6 @@ if SHIELD_CRADIO_RIGHT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "cradio right"
|
||||
|
||||
config USB
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_CRADIO_LEFT || SHIELD_CRADIO_RIGHT
|
||||
|
|
|
@ -16,9 +16,6 @@ if SHIELD_HELIX_RIGHT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Helix Right"
|
||||
|
||||
config USB
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_HELIX_LEFT || SHIELD_HELIX_RIGHT
|
||||
|
|
|
@ -16,9 +16,6 @@ if SHIELD_IRIS_RIGHT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Iris Right"
|
||||
|
||||
config USB
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_IRIS_LEFT || SHIELD_IRIS_RIGHT
|
||||
|
|
|
@ -14,9 +14,6 @@ if SHIELD_JIAN_RIGHT
|
|||
|
||||
config ZMK_KEYBOARD_NAME
|
||||
default "Jian Right"
|
||||
|
||||
config USB
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
|
|
|
@ -14,9 +14,6 @@ if SHIELD_JORNE_RIGHT
|
|||
|
||||
config ZMK_KEYBOARD_NAME
|
||||
default "Jorne Right"
|
||||
|
||||
config USB
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
|
|
|
@ -15,9 +15,6 @@ if SHIELD_KYRIA_RIGHT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Kyria Right"
|
||||
|
||||
config USB
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_KYRIA_LEFT || SHIELD_KYRIA_RIGHT
|
||||
|
|
|
@ -14,9 +14,6 @@ if SHIELD_LILY58_RIGHT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Lily58 Right"
|
||||
|
||||
config USB
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_LILY58_LEFT || SHIELD_LILY58_RIGHT
|
||||
|
|
|
@ -17,9 +17,6 @@ if SHIELD_MICRODOX_RIGHT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Microdox Right"
|
||||
|
||||
config USB
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_MICRODOX_LEFT || SHIELD_MICRODOX_RIGHT
|
||||
|
|
|
@ -17,9 +17,6 @@ if SHIELD_QUEFRENCY_RIGHT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Quefrency Right"
|
||||
|
||||
config USB
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_QUEFRENCY_LEFT || SHIELD_QUEFRENCY_RIGHT
|
||||
|
|
|
@ -16,9 +16,6 @@ if SHIELD_SOFLE_RIGHT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Sofle Right"
|
||||
|
||||
config USB
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_SOFLE_LEFT || SHIELD_SOFLE_RIGHT
|
||||
|
|
|
@ -18,9 +18,6 @@ if SHIELD_SPLITREUS62_RIGHT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Splitreus62 Right"
|
||||
|
||||
config USB
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_SPLITREUS62_LEFT || SHIELD_SPLITREUS62_RIGHT
|
||||
|
|
Loading…
Reference in a new issue