summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/chibios.mk
diff options
context:
space:
mode:
authorfredizzimo <fsundvik@gmail.com>2018-04-16 03:42:53 +0300
committerJack Humbert <jack.humb@gmail.com>2018-04-15 20:42:53 -0400
commite9d32b60b7f103cda42a19c5216e65b7b64ce9eb (patch)
treea954db818d58a86ee5bb4189568de82a453b11e8 /tmk_core/protocol/chibios.mk
parente2fb3079c7168ba109dfeeec20931ad75870186a (diff)
Add a custom USB driver for ARM (#2750)
* Copy Chibios serial_usb_driver into the chibios/protocol It's renamed to usb_driver to avoid name conflicts * Make the usb driver compile * Disable ChibiOS serial usb driver for all keyboards * Change usb_main to use QMKUSBDriver * Initialize the usb driver buffers * Add support for fixed size queues * Fix USB driver initialization * Don't transfer an empty packet for fixed size streams
Diffstat (limited to 'tmk_core/protocol/chibios.mk')
-rw-r--r--tmk_core/protocol/chibios.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmk_core/protocol/chibios.mk b/tmk_core/protocol/chibios.mk
index 6e7cfbd832..222fb4dad4 100644
--- a/tmk_core/protocol/chibios.mk
+++ b/tmk_core/protocol/chibios.mk
@@ -5,6 +5,7 @@ CHIBIOS_DIR = $(PROTOCOL_DIR)/chibios
SRC += $(CHIBIOS_DIR)/usb_main.c
SRC += $(CHIBIOS_DIR)/main.c
SRC += usb_descriptor.c
+SRC += $(CHIBIOS_DIR)/usb_driver.c
VPATH += $(TMK_PATH)/$(PROTOCOL_DIR)
VPATH += $(TMK_PATH)/$(CHIBIOS_DIR)