Open jordens opened 4 years ago
@jordens I believe this can be closed since we're using stm32h7-ethernet
I don't think so. stm32h7-ethernet
doesn't mark the descriptors as VolatileCells
either. It doesn't differ from my old code in that respect AFAICT.
What I mean is that this issue isn't necessary suitable for this repository anymore, but rather the linked stm32h7x-ethernet
crate since we don't implement any ethernet DMA functionality here after the HAL refactor.
Oh yes. Right. Somebody with a sound understanding of this should move it over to stm32h7-ethernet
if appropriate.
Use
VolatileCell
along the lines of stb32-usbd and check what evolves around best practices of DMA/uninit, (MaybeUninit, compiler_fence).