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

ref: 2831954309ffcbe06477409c515e9eaa7104cdb3 stm32h747i-disco-usb-image-viewer/src d---------
d5bfe1a3 — Rutherther 2 years ago
fix: usb should not rewrite DIEPCTL bits
60e86412 — Rutherther 2 years ago
feat: add rx data callback, increase tx fifo size
f4b4b64a — Rutherther 2 years ago
fix: make queue thread safe
cb4fa519 — Rutherther 2 years ago
fix: ensure register access are inline
89d71e0e — Rutherther 2 years 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 2 years 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 2 years ago
feat: implement enumeration fully
f8fd8e9f — Rutherther 2 years ago
chore: update pin, exti, delay
cedafa26 — Rutherther 2 years ago
fix: fifo has to be volatile
02e7e4df — Rutherther 2 years ago
docs: add documentation comments to most functions
c8fe27c9 — Rutherther 2 years ago
feat: implement usb devicd cdc descriptors, init, setup
8fd37eaf — Rutherther 2 years ago
feat: move all sending instructions to generic send functions
a9ffd728 — Rutherther 2 years ago
fix: make sure to error if endpoint id not found in interrupt

This generally shouldn't happen,
but it needs to be ensured that the
memory at incorrect place won't be read
or written to!
Otherwise there could be undefined behavior!
This would possibly write to the fifos,
meaning the data the usb sends could be
different than what the application intended!
c3eb05f4 — Rutherther 2 years ago
fix: clear bit operation
6051b840 — Rutherther 2 years ago
feat: implement most of enumeration
fd50dee1 — Rutherther 2 years ago
feat: receive setup packets
3b7f816a — Rutherther 2 years ago
feat: implement simple control usb read, writes
46e1209d — Rutherther 2 years ago
wip: usb
3644d054 — Rutherther 2 years ago
chore: some renames
1062cf20 — Rutherther 2 years ago
fix: into_alternate choose alternate mode
Next