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

079ff751 — Rutherther 4 months ago
feat: implement cdc application layer, fix enumeration
28319543 — Rutherther 4 months ago
feat: atomic register modifications
d5bfe1a3 — Rutherther 4 months ago
fix: usb should not rewrite DIEPCTL bits
60e86412 — Rutherther 4 months ago
feat: add rx data callback, increase tx fifo size
f4b4b64a — Rutherther 4 months ago
fix: make queue thread safe
cb4fa519 — Rutherther 4 months ago
fix: ensure register access are inline
a42a0f99 — Rutherther 4 months ago
tests: add device descriptor test

This is just an initial skeleton of
how the tests could look like.
It's proving hard to think of a good
way to encapsulate the tests. Every
test will need a different set of files
from the project compiled, as some
files should be stubs instead. Additionally,
those stubs could have some commonalities.
It should for example be possible to initialize
the usb device from the tests. It would be good
to implement at least some basic handling
of the usb registers as well. - ie. if you
enable an endpoint and put in data through fifo,
the endpoint should be disabled. It should be
possible to send data from the host to the device
as well - reading from fifo. And stuff like that...
0207e427 — Rutherther 4 months ago
chore: fix packing on x86_64
8776612f — Rutherther 4 months ago
chore: add gcc toolchain to compile tests
89d71e0e — Rutherther 4 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 4 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 5 months ago
feat: implement enumeration fully
f8fd8e9f — Rutherther 5 months ago
chore: update pin, exti, delay
cedafa26 — Rutherther 5 months ago
fix: fifo has to be volatile
02e7e4df — Rutherther 5 months ago
docs: add documentation comments to most functions
c8fe27c9 — Rutherther 5 months ago
feat: implement usb devicd cdc descriptors, init, setup
8fd37eaf — Rutherther 5 months ago
feat: move all sending instructions to generic send functions
a9ffd728 — Rutherther 5 months 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 5 months ago
fix: clear bit operation
6051b840 — Rutherther 5 months ago
feat: implement most of enumeration
Next
Do not follow this link