summaryrefslogtreecommitdiff
path: root/chip/stm32/build.mk
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2016-11-09 17:35:22 +0800
committerchrome-bot <chrome-bot@chromium.org>2016-11-16 19:04:47 -0800
commit64f1823a742e4cd39e56f0621d86bae41c709210 (patch)
treef32024c26dd85c36a80021fb1d6f17f971568ff1 /chip/stm32/build.mk
parentb565e9223d3fe5131c380030155b90e327bc27ef (diff)
downloadchrome-ec-64f1823a742e4cd39e56f0621d86bae41c709210.tar.gz
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 <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'chip/stm32/build.mk')
-rw-r--r--chip/stm32/build.mk1
1 files changed, 1 insertions, 0 deletions
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