~ruther/stm32h747i-disco-usb-image-viewer

ref: a42a0f99932c4a7afdd569cac97a46d0bbc15c07 stm32h747i-disco-usb-image-viewer/src/usb_device_cdc.c -rw-r--r-- 13.6 KiB
89d71e0e — Rutherther 1 year, 1 month ago
fix: correctly send functional descriptor

The functional descriptor was not sent correctly,
specifically, it was pointed to its address,
instead of the pointer itself. That meant bunch
of irrelevant stuff was sent instead.
9db48e96 — Rutherther 1 year, 1 month ago
feat: use task_result to indicate blocking

There should be no spin loops inside of the
interrupts, so this change removes them,
and instead uses a result system that has
WOULD_BLOCK result. When this result is returned,
it is expected there was no side-effect and the
function can safely be reran later.
feat: implement enumeration fully
docs: add documentation comments to most functions
feat: implement usb devicd cdc descriptors, init, setup