177 #include <SPI.h>// Use the Arduino SPI library for the Arduino Due, Intel Galileo 1 & 2, Intel Edison or if the SPI library with transaction is available
178#endif
179#ifdef RBL_NRF51822
180 #include <nrf_gpio.h>
181 #include <SPI_Master.h>
182 #define SPI SPI_Master
183 #define MFK_CASTUINT8T (uint8_t) // RBLs return type for sizeof needs casting to uint8_t