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 888cf3c + 21c15d2 commit 018ed36Copy full SHA for 018ed36
src/SparkFun_External_EEPROM.h
@@ -54,6 +54,11 @@
54
#define I2C_BUFFER_LENGTH_RX I2C_BUFFER_LENGTH
55
#define I2C_BUFFER_LENGTH_TX I2C_BUFFER_LENGTH
56
57
+#elif defined(STM32)
58
+
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
#else
63
64
#pragma GCC error "This platform doesn't have a wire buffer size defined. Please contribute to this library!"
0 commit comments