Fork of RTOS_SPI that removes SimpleDMA from direct include to correct linker issues when using SimpleDMA twice Note that this library is still required!

Dependents:   FlashM25PSpi

Fork of RTOS_SPI by Erik -

Revision:
2:d052724e2ad6
Parent:
1:d021fb155bff
--- a/RTOS_SPI_KL25.cpp	Sun Jan 05 10:20:17 2014 +0000
+++ b/RTOS_SPI_KL25.cpp	Fri Jun 27 10:12:42 2014 +0000
@@ -14,7 +14,7 @@
     write_dma.destination(&_spi.spi->D, false);
 };
 
-void RTOS_SPI::bulkInternal(uint8_t *read_data, uint8_t *write_data, int length, bool read_inc, bool write_inc) {
+void RTOS_SPI::bulkInternal(uint8_t *read_data, const uint8_t *write_data, int length, bool read_inc, bool write_inc) {
     aquire();
     _spi.spi->C2 |= SPI_C2_TXDMAE_MASK | SPI_C2_RXDMAE_MASK;