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

ref: 8776612fd50483190d945c67bfa1610786abe678 stm32h747i-disco-usb-image-viewer/src/usb_device_cdc.c -rw-r--r-- 13.6 KiB
89d71e0e — Rutherther 8 months 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 8 months 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.
5d5e3d6c — Rutherther 8 months ago
feat: implement enumeration fully
02e7e4df — Rutherther 8 months ago
docs: add documentation comments to most functions
c8fe27c9 — Rutherther 8 months ago
feat: implement usb devicd cdc descriptors, init, setup