Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

WIP remove GD32 recvControl workaround #92

Closed
wants to merge 2 commits into from

Conversation

tlyu
Copy link

@tlyu tlyu commented Nov 29, 2022

Remove the GD32 recvControl workaround, because changes to the USB core mean that it's no longer required, and the automatic buffer will cause stack corruption due to being written to after recvControl returns.

This needs to be coordinated with keyboardio/ArduinoCore-GD32-Keyboardio#18.

@tlyu tlyu force-pushed the wip-recvcontrol branch 3 times, most recently from 0713c9c to f5bc8e7 Compare January 11, 2023 20:54
tlyu added 2 commits January 11, 2023 23:22
Use singletons for the HID objects, so Kaleidoscope can force an ordering
for the interfaces, because some BIOSes/UEFIs require that the boot
keyboard be the first HID interface.

Signed-off-by: Taylor Yu <[email protected]>
Remove the GD32 `recvControl` workaround, because changes to the USB
core mean that it's no longer required, and the automatic buffer will
cause stack corruption due to being written to after `recvControl`
returns.
@tlyu tlyu closed this Jan 15, 2023
@tlyu tlyu deleted the wip-recvcontrol branch January 15, 2023 03:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant