Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set architectures property to avr #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Feb 7, 2018

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 (e.g. #19). 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 (arduino/arduino-builder#228), which is the outcome of attempting to compile this library for a non-AVR board. This issue will hopefully be resolved in a future version of the Arduino IDE.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant