qmk_firmware/tmk_core/protocol
Sergey Vlasov 1ea54e5052
ChibiOS USB: Add a dummy IN callback to work around LLD bugs (#18811)
In #18631 some IN notification callbacks that were doing nothing were
removed, which should be a valid thing to do (ChibiOS HAL checks the
`in_cb` and `out_cb` pointers for being non-NULL before invoking those
optional callbacks).  However, it turned out that some less popular USB
LLDs (KINETIS and MIMXRT1062) have their own checks for those pointers,
and (incorrectly) skip the ChibiOS callback handling when those pointers
are NULL, which breaks the code for the `USB_USE_WAIT` configuration
option (the waiting thread never gets resumed if the corresponding
callback pointer is NULL).

Add those dummy callbacks again (but use a single function for all of
them instead of individual ones for each endpoint); this restores the
KINETIS and MIMXRT1062 boards to the working state while the LLDs are
getting fixed.
2022-10-22 18:16:09 +01:00
..
arm_atsam Refactor send_extra (#18615) 2022-10-06 19:35:01 -07:00
chibios ChibiOS USB: Add a dummy IN callback to work around LLD bugs (#18811) 2022-10-22 18:16:09 +01:00
lufa LUFA: Consolidate report sending code (#18629) 2022-10-15 12:53:57 -04:00
midi Redefinition of MIN is avoided in midi.c (#18203) 2022-08-29 12:18:53 -07:00
usb_hid [Bug] Fix timer include in override_wiring.c (#15221) 2021-11-19 21:22:45 +00:00
vusb Refactor send_extra (#18615) 2022-10-06 19:35:01 -07:00
arm_atsam.mk Initial USB2422 driver (#14835) 2021-10-22 00:49:58 +01:00
chibios.mk Begin to carve out platform/protocol API - Single main loop (#13843) 2021-08-18 00:11:07 +01:00
host.c Refactor send_extra (#18615) 2022-10-06 19:35:01 -07:00
host.h Refactor send_extra (#18615) 2022-10-06 19:35:01 -07:00
host_driver.h Refactor send_extra (#18615) 2022-10-06 19:35:01 -07:00
lufa.mk Move Bluetooth config to common_features.mk (#14404) 2021-09-12 08:22:03 -07:00
midi.mk
report.c [Core] Move has_mouse_report_changed function to report.c (#16543) 2022-03-14 00:01:47 +00:00
report.h Further refactoring of joystick feature (#18437) 2022-09-27 18:37:13 +10:00
usb_descriptor.c Merge remote-tracking branch 'origin/master' into develop 2022-09-12 18:57:58 -04:00
usb_descriptor.h Fix joystick functionality for ChibiOS and OTG (Blackpill) (#18631) 2022-10-13 10:28:49 +11:00
usb_descriptor_common.h Use string literals for SERIAL_NUMBER (#13403) 2021-07-16 19:43:18 +10:00
usb_device_state.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
usb_device_state.h Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
usb_hid.mk Move USB Host Shield and Arduino core to lib/ (#13973) 2021-08-18 18:20:25 +10:00
usb_util.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
usb_util.h Relocate protocol files within tmk_core/common/ (#14972) 2021-10-28 22:31:59 +01:00
vusb.mk Begin to carve out platform/protocol API - Single main loop (#13843) 2021-08-18 00:11:07 +01:00