From b5f925b202ec541c41a977c0131396d0df0eac93 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 6 Feb 2018 16:40:23 -0800 Subject: [PATCH] Set architectures property to avr This library is AVR specific so the previous wildcard value of the architectures property in library.properties is incorrect. This change will cause this library's examples to appear under the File > Examples > INCOMPATIBLE > EEPROMex menu when a non-avr board is selected, which can provide a valuable clue to the user why the library isn't working with that board. The Arduino IDE also provides a library mismatch warning but unfortunately this does not currently appear when compilation fails due to an included file not being found, which is the outcome of attempting to compile for a non-AVR board. This issue will hopefully be resolved in a future version of the Arduino IDE. --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 49db5f2..e0b1b6b 100644 --- a/library.properties +++ b/library.properties @@ -6,4 +6,4 @@ sentence=Extension of the standard Arduino EEPROM library. paragraph=Extended for reading and writing basic types, structs, strings, arrays and more. category=Data Storage url=http://playground.arduino.cc/Code/EEPROMex -architectures=* +architectures=avr