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

[FEATURE REQUEST] EEPROM support for ATtiny85 (Digispark board) #227

Open
silvioprog opened this issue Dec 16, 2020 · 1 comment
Open

[FEATURE REQUEST] EEPROM support for ATtiny85 (Digispark board) #227

silvioprog opened this issue Dec 16, 2020 · 1 comment

Comments

@silvioprog
Copy link

Hi.

It would be nice to provide the official EEPROM header to be used in ATtiny families, commonly present in Digispark boards.

When we try to use it, the IDE reports the following error:

cannot open source file "EEPROM.h"

but, if we try to build it in Arduino IDE (even the VSCode based one), it builds fine our program, so the EEPROM.h seems to be a regular header, like Arduino.h.

cheers

@silvioprog silvioprog changed the title [FEATURE REQUEST] Includes to use EEPROM in a ATtiny85 (Digispark board) [FEATURE REQUEST] EEPROM support for ATtiny85 (Digispark board) Dec 16, 2020
@ivankravets ivankravets transferred this issue from platformio/platformio-vscode-ide Jan 4, 2021
@anno73
Copy link

anno73 commented Jan 29, 2021

I have the same issue. For now I copied ...\arduino-1.8.13\hardware\arduino\avr\libraries\EEPROM to ...\.platformio\packages\framework-arduino-avr-digistump\libraries. This seems to solve the issue for now. Putting the lib to project's src folder is no good, as it is not found by other libs (for me this would be EEPROMWearLevel).
So it really would be nice to have this lib in the distribution.

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

No branches or pull requests

2 participants