qmk_firmware/platforms/chibios
Kieran Levin 385ed1a291 fix selective suspend on RP2040
the tmk_core chibios protocol_pre_task does not
process any usb events when the host is in suspend.

I think there is a race condition where the usb_event_queue_task
will not be processed depending on when usb goes to sleep.
so we may fall into the
while (USB_DRIVER.state == USB_SUSPENDED) {
which comes directly from the hardware interrupt.
and never process pending events in
usb_event_queue_task();

Signed-off-by: Kieran Levin <ktl@frame.work>
2023-11-17 19:04:24 +08:00
..
boards STM32H723 support (#21352) 2023-06-28 13:07:14 +10:00
bootloaders drivers: remove direct quantum.h includes (#21473) 2023-07-09 20:03:50 +10:00
converters Duplicate board files for blok converter (#20629) 2023-05-22 07:04:19 +01:00
drivers Merge remote-tracking branch 'upstream/develop' into fl16-sleep-fix 2023-07-21 08:34:44 +08:00
vendors/RP Consolidate KEYBOARD_OUTPUT+KEYMAP_OUTPUT=>INTERMEDIATE_OUTPUT (#21272) 2023-06-21 08:41:49 +10:00
_pin_defs.h [Core] Add Raspberry Pi RP2040 support (#14877) 2022-06-30 13:19:27 +02:00
_timer.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
_wait.c Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
_wait.h [Fix] Make ChibiOS _wait.h independent of quantum.h (#17645) 2022-07-12 21:54:33 +02:00
atomic_util.h Fix quantum ring_buffer for ChibiOS (#19683) 2023-01-28 21:07:51 +00:00
bootloader.mk Remove bootloader logic from mcu_selection.mk (#20150) 2023-03-18 21:19:26 +00:00
chibios_config.h Merge remote-tracking branch 'upstream/develop' into fl16-sleep-fix 2023-07-21 08:34:44 +08:00
config.h Remove CORTEX_ENABLE_WFI_IDLE from keyboards. (#21353) 2023-06-23 20:31:25 +01:00
flash.mk Merge upstream changes to uf2conv (#19993) 2023-03-03 10:26:37 +11:00
gd32v_compatibility.h Fix GD32VF103 WS2812 PWM driver (#18067) 2022-08-15 18:00:22 +01:00
gpio.h Refactor writePin to work with statements (#16738) 2022-03-27 15:07:25 -07:00
hardware_id.c Fix some rp2040 hardware ID errors (#18617) 2022-10-06 00:36:48 +01:00
mcu_selection.mk STM32H723 support (#21352) 2023-06-28 13:07:14 +10:00
platform_deps.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
platform.c Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
platform.mk Remove CORTEX_ENABLE_WFI_IDLE from keyboards. (#21353) 2023-06-23 20:31:25 +01:00
sleep_led.c Get rid of USB_LED_CAPS_LOCK (#21436) 2023-07-06 09:48:02 +01:00
suspend.c fix selective suspend on RP2040 2023-11-17 19:04:24 +08:00
synchronization_util.c [Core] Use a mutex guard for split shared memory (#16647) 2022-04-19 20:56:16 +10:00
syscall-fallbacks.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
timer.c ChibiOS 21.11.1 update. (#16251) 2022-03-07 21:04:22 +11:00
wait.c platfoms: chibios: wait: only define the frequency (#21115) 2023-06-02 14:41:05 -07:00