x

Dependents:   20180621_FT813

Fork of BurstSPI by Erik -

Revision:
10:6ed1d9f1ef37
Child:
11:36ac5fd058dd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BurstSPI_Unsupported.cpp	Tue Oct 07 10:55:42 2014 +0000
@@ -0,0 +1,18 @@
+#if !(defined(TARGET_KL25Z) || defined(TARGET_KL46Z))
+#if !(defined(TARGET_LPC1768) || defined(TARGET_LPC1114) || defined(TARGET_LPC11U24) || defined(TARGET_LPC13XX))
+#if !(defined(TARGET_NUCLEO_L152RE))
+
+#warning BurstSPI target not supported, reverting to regular SPI
+
+#include "BurstSPI.h"
+
+void BurstSPI::fastWrite(int data) {
+    write(data);
+}
+
+void BurstSPI::clearRX( void ) {
+
+}
+#endif          //Freescale
+#endif          //NXP
+#endif          //NUCLEO
\ No newline at end of file