STM32, Maple and Maple mini port to IDE 1.5.x

Roger, my DMA RX code that was working fine is in the sdfat library, in this file:

https://github.com/greiman/SdFat/blob/master/SdFat/SdSpiSTM32F1.cpp

That one is tested to work with a bunch of SDcard tests, reading and writing.

Regarding checking for RX DMA to be over, I dont think it is necessary given the fact that RX can only occur while TX is going on, because the sclk only outputs clock on TX. If TX is finished, RX will not receive anything else as there no clock. I think it should be disabled, rather than possibly hanging there waiting for bytes that will not come in because there is no clock.

I understand there is no clock if TX is not going on from something I read before about the F103 SPI. If I'm wrong let me know.

I'll pull the code from your repo when I get home and run a test with an SD card that was working fine 100% of the time with dma. I can even compare performance to let you know if it is dropping below normal for any reason.