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

Unable to compile #2

Open
ggllc-sergio opened this issue Sep 19, 2017 · 4 comments
Open

Unable to compile #2

ggllc-sergio opened this issue Sep 19, 2017 · 4 comments

Comments

@ggllc-sergio
Copy link

I was wondering if the project is till being supported. I added the library to a blank project in the Particle Web IDE and tried to compile but received the following error:

lib/Adafruit_VS1053_Photon/sd2-card-config.h:21:18: 'Serial' was not declared in this scope

I did the same on the desktop IDE and received the same error.

@kmccaffr
Copy link

Same here, unable to correctly compile.

@kmccaffr
Copy link

kmccaffr commented Feb 1, 2019

You need to comment out
"#define Serial Serial" from line 21 of the sd2-card-config.h file for it to compile.
You won't be able to modify the library via the Web IDE so you will have to do it locally, if you find that no matter how many times you compile it still comes up with the error you may need to start a new project and directly copy the library files to the folder (not add the library through the IDE). I'm not sure if it was project properties but I found that kept happening to me with somehow locking to the online library version.

@McTristan
Copy link
Owner

Does it compile and work if you do it? If so could you do a pull request? Maybe I'll find the time to update the library so everyone can use it again. It is a bit hard for me to keep up with the ever changing firmware versions :/

@kmccaffr
Copy link

It does compile but I also had to edit the DREQ pin that was hard-coded in the VS1053 header file (for me to use a different pin) I believe.

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

3 participants