Files
Adafruit_GPS/extras/test_support/SPI.h
T
ladyadaandLimor Fried fdaa8279b8 Run every regression test in CI
Discover the C++ tests and Arduino regression sketches automatically. Run the sketches against the actual library with host serial output and timing, including marine extensions, and propagate failures and timeouts to CI.

Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
2026-09-15 15:41:15 -04:00

26 lines
450 B
C++

#ifndef GPS_TEST_SPI_H
#define GPS_TEST_SPI_H
#include "Arduino.h"
#define MSBFIRST 1
#define SPI_MODE0 0
class SPISettings {
public:
SPISettings(uint32_t, uint8_t, uint8_t) {}
};
class SPIClass {
public:
void begin() { unexpectedHardware(); }
void beginTransaction(SPISettings) { unexpectedHardware(); }
void endTransaction() { unexpectedHardware(); }
uint8_t transfer(uint8_t) {
unexpectedHardware();
return 0;
}
};
#endif