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.
1 parent ddef7e5 commit f33d7a3Copy full SHA for f33d7a3
examples/NonReg/BufferedEEPROM/BufferedEEPROM.ino
@@ -1,5 +1,4 @@
1
-#include "Arduino.h"
2
-#include <stdint.h>
+#include <EEPROM.h>
3
4
/**
5
* Most STM32 devices don't have an integrated EEPROM.
@@ -17,6 +16,10 @@
17
16
* it's strongly suggested to use the buffered API anyhow.
18
*/
19
+#if defined(DATA_EEPROM_BASE)
20
+#error "STM32 devices have an integrated EEPROM. No buffered API available."
21
+#endif
22
+
23
#define DATA_LENGTH E2END
24
25
void setup() {
0 commit comments