From 64f1823a742e4cd39e56f0621d86bae41c709210 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Wed, 9 Nov 2016 17:35:22 +0800 Subject: chip/stm32/usb_hid: Separate HID keyboard support In the future, we'd like to have different HID devices on different endpoints (keyboard, trackpad, etc.), so we'd like to separate the keyboard handling. For other chip implementing usb_hid.c (namely, chip/g), we, for now just rename the config option and endpoint/interface definitions. Making the code more generic can be done at a later stage. BRANCH=none BUG=chrome-os-partner:59083 TEST=make buildall -j TEST=make BOARD=hammer -j && util/flash_ec --board=hammer Change-Id: Iad1b00fa226f7635c0f34aae6a435dc53a3ea555 Reviewed-on: https://chromium-review.googlesource.com/409256 Commit-Ready: Nicolas Boichat Tested-by: Nicolas Boichat Reviewed-by: Mary Ruthven --- chip/stm32/build.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'chip/stm32/build.mk') diff --git a/chip/stm32/build.mk b/chip/stm32/build.mk index cb5f8cacd6..e6037f1012 100644 --- a/chip/stm32/build.mk +++ b/chip/stm32/build.mk @@ -69,6 +69,7 @@ chip-$(CONFIG_USB)+=usb.o usb-$(CHIP_FAMILY).o usb_endpoints.o chip-$(CONFIG_USB_CONSOLE)+=usb_console.o chip-$(CONFIG_USB_GPIO)+=usb_gpio.o chip-$(CONFIG_USB_HID)+=usb_hid.o +chip-$(CONFIG_USB_HID_KEYBOARD)+=usb_hid_keyboard.o chip-$(CONFIG_USB_PD_TCPC)+=usb_pd_phy.o chip-$(CONFIG_USB_SPI)+=usb_spi.o endif -- cgit v1.2.1