summaryrefslogtreecommitdiff
path: root/app/Kconfig
diff options
context:
space:
mode:
authorNick Winans <nick@winans.codes>2021-01-08 15:32:55 -0600
committerPete Johanson <peter@peterjohanson.com>2021-01-08 16:51:50 -0500
commit002a89765f27fc295cf14af1648348c3bc0032ae (patch)
tree81d6556dc0e302f5dee33fdc045782e963e8ddb3 /app/Kconfig
parentaf563e9dbcad8ca4c06f956c342fae79e3706ff7 (diff)
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.
Diffstat (limited to 'app/Kconfig')
-rw-r--r--app/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Kconfig b/app/Kconfig
index f486021..f5d92a8 100644
--- a/app/Kconfig
+++ b/app/Kconfig
@@ -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"