We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69d2665 + e480d79 commit 44839eaCopy full SHA for 44839ea
src/SparkFun_External_EEPROM.h
@@ -59,6 +59,11 @@
59
#define I2C_BUFFER_LENGTH_RX BUFFER_LENGTH //BUFFER_LENGTH is defined in Wire.h for STM32
60
#define I2C_BUFFER_LENGTH_TX BUFFER_LENGTH
61
62
+#elif defined(NRF52_SERIES)
63
+
64
+#define I2C_BUFFER_LENGTH_RX SERIAL_BUFFER_SIZE //Adafruit Bluefruit nRF52 Boards uses RingBuffer.h
65
+#define I2C_BUFFER_LENGTH_TX SERIAL_BUFFER_SIZE
66
67
#else
68
69
#pragma GCC warning "This platform doesn't have a wire buffer size defined. Defaulting to 32 bytes. Please contribute to this library!"
0 commit comments