je ne sais plus
Diff: BurstSPI_Unsupported.cpp
- Revision:
- 0:3787bbf77ca8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BurstSPI_Unsupported.cpp Wed Jun 17 13:49:54 2015 +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 FastSPI target not supported, reverting to regular SPI + +#include "FastSPI.h" + +void FastSPI::fastWrite(int data) { + write(data); +} + +void FastSPI::clearRX( void ) { + +} +#endif //Freescale +#endif //NXP +#endif //NUCLEO \ No newline at end of file