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

stm32h747i-disco-usb-image-viewer/firmware/src/usb_device.c -rw-r--r-- 26.8 KiB
d73097e3 — Rutherther 1 year, 11 days ago
chore: move firmware to firmware/ folder
fb29244f — Rutherther 1 year, 12 days ago
feat: implement dsi, ltdc, otm8009 display
ab39a86a — Rutherther 1 year, 19 days ago
fix: systick delay
4c34bf99 — Rutherther 1 year, 1 month ago
fix: unicode strings
079ff751 — Rutherther 1 year, 1 month ago
feat: implement cdc application layer, fix enumeration
60e86412 — Rutherther 1 year, 1 month ago
feat: add rx data callback, increase tx fifo size
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.
5d5e3d6c — Rutherther 1 year, 1 month ago
feat: implement enumeration fully
f8fd8e9f — Rutherther 1 year, 1 month ago
chore: update pin, exti, delay
cedafa26 — Rutherther 1 year, 1 month ago
fix: fifo has to be volatile
c8fe27c9 — Rutherther 1 year, 1 month ago
feat: implement usb devicd cdc descriptors, init, setup
feat: move all sending instructions to generic send functions
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!
feat: implement most of enumeration
feat: receive setup packets
wip: usb
feat: add registers, pin, exti, usb_device skeleton