From 2e250471259fe957a02857921e24f5172871878b Mon Sep 17 00:00:00 2001 From: XiNGRZ Date: Tue, 7 Feb 2023 23:47:31 +0800 Subject: [PATCH] keyboard: Bring up USB communication --- config/boards/arm/hw75_keyboard/Kconfig.defconfig | 4 ++++ config/boards/arm/hw75_keyboard/hw75_keyboard_defconfig | 1 + 2 files changed, 5 insertions(+) diff --git a/config/boards/arm/hw75_keyboard/Kconfig.defconfig b/config/boards/arm/hw75_keyboard/Kconfig.defconfig index 22f7ea0a..1ea5c893 100644 --- a/config/boards/arm/hw75_keyboard/Kconfig.defconfig +++ b/config/boards/arm/hw75_keyboard/Kconfig.defconfig @@ -30,6 +30,10 @@ config ZMK_RGB_UNDERGLOW_EXT_POWER config BUILD_OUTPUT_UF2 default y +config HW75_USB_COMM + default y + select HW75_USB_COMM_FEATURE_RGB + if BUILD_OUTPUT_UF2 config BUILD_OUTPUT_UF2_FAMILY_ID diff --git a/config/boards/arm/hw75_keyboard/hw75_keyboard_defconfig b/config/boards/arm/hw75_keyboard/hw75_keyboard_defconfig index e42d5eab..bde43214 100644 --- a/config/boards/arm/hw75_keyboard/hw75_keyboard_defconfig +++ b/config/boards/arm/hw75_keyboard/hw75_keyboard_defconfig @@ -30,3 +30,4 @@ CONFIG_HEAP_MEM_POOL_SIZE=2048 # USB CONFIG_USB_DEVICE_MANUFACTURER="HelloWord" CONFIG_USB_DEVICE_PRODUCT="HW-75 Keyboard" +CONFIG_USB_HID_DEVICE_COUNT=2