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

Does not compile with Particle mesh devices #2

Open
mawrob opened this issue Jan 10, 2019 · 0 comments
Open

Does not compile with Particle mesh devices #2

mawrob opened this issue Jan 10, 2019 · 0 comments

Comments

@mawrob
Copy link

mawrob commented Jan 10, 2019

Testing on the Argon I cannot get this to compile. One issue seems to be related to the SdFat 0.0.7 library https://github.com/greiman/SdFat-Particle that does not work with mesh (https://community.particle.io/t/sdfat-library-not-working-with-boron/45509/13). There now appears to be a new version of SdFat that supports mesh: https://github.com/greiman/SdFat
I tried to compile locally using local versions of the SdCardLogHandlerRK (to avoid 0.0.7) and the new SdFat libraries and get the following error:

lib/SdCardLogHandlerRK/src/SdCardLogHandlerRK.h:36:2: note: candidate: SdCardLogHandler::SdCardLogHandler(SdFat&, uint8_t, uint8_t, LogLevel, spark::LogCategoryFilters)
  SdCardLogHandler(SdFat &sd, uint8_t csPin, uint8_t divisor, LogLevel level = LOG_LEVEL_INFO, LogCategoryFilters filters = {});
  ^
lib/SdCardLogHandlerRK/src/SdCardLogHandlerRK.h:36:2: note:   no known conversion for argument 3 from 'SPISettings {aka particle::__SPISettings}' to 'uint8_t {aka unsigned char}'

Thanks for all your great work!

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

1 participant