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 bd516bf + 787838c commit 93bc772Copy full SHA for 93bc772
src/SparkFun_External_EEPROM.h
@@ -64,6 +64,11 @@
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
+#elif defined(ARDUINO_ARCH_RP2040)
68
+
69
+#define I2C_BUFFER_LENGTH_RX WIRE_BUFFER_SIZE //128 - defined in Wire.h (provided by pico-arduino-compat)
70
+#define I2C_BUFFER_LENGTH_TX WIRE_BUFFER_SIZE
71
72
#else
73
74
#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