Use DMA for receiving data from the UART [broken]
authorMatt Mullins <mmullins@mmlx.us>
Sun, 23 Dec 2012 23:19:00 +0000 (15:19 -0800)
committerMatt Mullins <mmullins@mmlx.us>
Mon, 24 Dec 2012 00:49:15 +0000 (16:49 -0800)
commit21e0cf0f1d3917a993bed01da8914ab4ab5bd5ff
tree2f29475e25fe10023092ee7b58751d3a8568eda6
parent02608ed76dd8cc195e1a9716e8f66eda1cdf1582
Use DMA for receiving data from the UART [broken]

Currently, this works for receiving exactly one byte.  It'll give me an
interrupt upon reading a second, but it doesn't DMA it.  And then it just stops
sending the interrupts -- which is slightly better than before.

I can also get it stuck in an infinite loop of calling uart0_isr() by not
clearing the interrupt status.
main.c