I want to create a board crate for our ARM board we have at school. Our display is using a 9 Bit SPI protocol, which currently is not supported. So I'm about to write a double buffered DMA driver that should be generic enough for others to use (I've done that already a while back in C to port uGfx).
My problem is, that while the DMA examples compile, I fail to put the code inside a function. I assume it's a trait bound problem, but all attempts to resolve it failed. The compiler complains about the function wait is missing in transfer: See my function test_write in main.rs.
Thanks for your time