diff options
| author | fredizzimo <fsundvik@gmail.com> | 2018-04-16 03:42:53 +0300 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2018-04-15 20:42:53 -0400 |
| commit | e9d32b60b7f103cda42a19c5216e65b7b64ce9eb (patch) | |
| tree | a954db818d58a86ee5bb4189568de82a453b11e8 /tmk_core/protocol/chibios.mk | |
| parent | e2fb3079c7168ba109dfeeec20931ad75870186a (diff) | |
| download | qmk_firmware-e9d32b60b7f103cda42a19c5216e65b7b64ce9eb.tar.gz qmk_firmware-e9d32b60b7f103cda42a19c5216e65b7b64ce9eb.zip | |
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.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tmk_core/protocol/chibios.mk b/tmk_core/protocol/chibios.mk index 6e7cfbd83..222fb4dad 100644 --- a/tmk_core/protocol/chibios.mk +++ b/tmk_core/protocol/chibios.mk | |||
| @@ -5,6 +5,7 @@ CHIBIOS_DIR = $(PROTOCOL_DIR)/chibios | |||
| 5 | SRC += $(CHIBIOS_DIR)/usb_main.c | 5 | SRC += $(CHIBIOS_DIR)/usb_main.c |
| 6 | SRC += $(CHIBIOS_DIR)/main.c | 6 | SRC += $(CHIBIOS_DIR)/main.c |
| 7 | SRC += usb_descriptor.c | 7 | SRC += usb_descriptor.c |
| 8 | SRC += $(CHIBIOS_DIR)/usb_driver.c | ||
| 8 | 9 | ||
| 9 | VPATH += $(TMK_PATH)/$(PROTOCOL_DIR) | 10 | VPATH += $(TMK_PATH)/$(PROTOCOL_DIR) |
| 10 | VPATH += $(TMK_PATH)/$(CHIBIOS_DIR) | 11 | VPATH += $(TMK_PATH)/$(CHIBIOS_DIR) |
