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

ref: d5bfe1a35cc5b046782ddc4222f3344d9127f76e stm32h747i-disco-usb-image-viewer/tests d---------
a42a0f99 — Rutherther 5 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...
Do not follow this link