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

Platformio compilation problem due to SD.h import #5

Open
michalmonday opened this issue Oct 22, 2020 · 2 comments
Open

Platformio compilation problem due to SD.h import #5

michalmonday opened this issue Oct 22, 2020 · 2 comments

Comments

@michalmonday
Copy link
Owner

No description provided.

@SherifMEldeeb
Copy link

just add it to your project dependencies as the way the compiler work it doesn't include libraries dependencies automatically
unless the library it self handled it which is not the case.

This was referenced Sep 11, 2021
@KaloNK
Copy link

KaloNK commented Nov 24, 2021

Suggestion - use the file object provided from the caller and just remove open, the rest of the code is unchanged:
CSV_Parser::readFile(File csv_file)
and you call it as:
cv.readFile(SD.open(f_name));
csv_file is still closed from the call, so it should be OK

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